[issue12820] Tests for Lib/xml/dom/minicompat.py

2011-09-15 Thread John Chandler

John Chandler  added the comment:

Just to let you know I haven't forgotten this! I've been pretty busy recently 
so might be a while before I implement the changes to the patch suggested in 
the code review.

John

--

___
Python tracker 
<http://bugs.python.org/issue12820>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11159] Sax parser crashes if given unicode file name

2011-08-21 Thread John Chandler

John Chandler  added the comment:

Confirmed about not being an issue in Python 3. Just checked with Python 
3.3.0a0 and the example works fine - no exception raised.

--
nosy: +John.Chandler

___
Python tracker 
<http://bugs.python.org/issue11159>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12820] Tests for Lib/xml/dom/minicompat.py

2011-08-22 Thread John Chandler

New submission from John Chandler :

The Lib/xml/dom/minicompat.py module doesn't appear to have any test coverage, 
probably because it's not the largest or most exciting of modules! :-) I 
therefore attach a patch to add test coverage for the EmptyNodeList and 
NodeList classes. I can add tests for the defproperty function if this patch 
proves acceptable.

The patch adds a new file (Lib/test/test_xml_dom_minicompat.py) and modifies 
one line of an existing file (Lib/test/xmltests.py)

I've used Python 3.3.0a0, courtesy of Brett's devinabox, but should be 
back-portable to older versions of Python.

--
components: Tests
files: minicompat_tests.patch
keywords: patch
messages: 142779
nosy: John.Chandler
priority: normal
severity: normal
status: open
title: Tests for Lib/xml/dom/minicompat.py
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file23010/minicompat_tests.patch

___
Python tracker 
<http://bugs.python.org/issue12820>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12820] Tests for Lib/xml/dom/minicompat.py

2011-08-26 Thread John Chandler

John Chandler  added the comment:

Cool, thanks for the feedback! :-)

I'll make the appropriate changes to the tests and add some coverage for 
defproperty as soon as I can.

John

--

___
Python tracker 
<http://bugs.python.org/issue12820>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9342] Tests for monthrange in calendar.py module

2010-07-23 Thread John Chandler

New submission from John Chandler :

Hi,

Attaching a patch for the test_calendar.py file.

Adds six tests to provide test coverage of the monthrange function.


John

--
components: Tests
files: test_calendar.patch
keywords: patch
messages: 111292
nosy: John.Chandler
priority: normal
severity: normal
status: open
title: Tests for monthrange in calendar.py module
versions: Python 3.2
Added file: http://bugs.python.org/file18144/test_calendar.patch

___
Python tracker 
<http://bugs.python.org/issue9342>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9361] Tests for leapdays in calendar.py module

2010-07-23 Thread John Chandler

New submission from John Chandler :

Hi,

Attaching a patch for the test_calendar.py file.

Adds four tests to provide coverage of the leapdays() function.


John

--
components: Tests
files: test_calendar.diff
keywords: patch
messages: 111373
nosy: John.Chandler
priority: normal
severity: normal
status: open
title: Tests for leapdays in calendar.py module
versions: Python 3.2
Added file: http://bugs.python.org/file18161/test_calendar.diff

___
Python tracker 
<http://bugs.python.org/issue9361>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com