[New-bugs-announce] [issue12820] Tests for Lib/xml/dom/minicompat.py

John Chandler report at bugs.python.org
Tue Aug 23 05:54:19 CEST 2011

New submission from John Chandler <therealmetaljoe at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list