New submission from John Chandler <therealmetal...@gmail.com>: 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 <rep...@bugs.python.org> <http://bugs.python.org/issue12820> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com