diff options
author | Fred Drake <fdrake@acm.org> | 2002-07-25 20:40:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-07-25 20:40:28 (GMT) |
commit | fd83374fe212855292995ea5cf4b79e2336a004f (patch) | |
tree | 32c2466570ba55f04f0e6342770c0711649f414e /Lib/test | |
parent | e80c0d35808000a783f8cc667c8841f7aa0b1ad6 (diff) | |
download | cpython-fd83374fe212855292995ea5cf4b79e2336a004f.zip cpython-fd83374fe212855292995ea5cf4b79e2336a004f.tar.gz cpython-fd83374fe212855292995ea5cf4b79e2336a004f.tar.bz2 |
Remove duplicate checks of the Node.allnodes variable.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_minidom.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 4d7a1af..9e00b4f 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -353,7 +353,6 @@ def _testElementReprAndStrUnicodeNS(): confirm(string1 == string2) confirm(string1.find("slash:abc") != -1) dom.unlink() - confirm(len(Node.allnodes) == 0) def testAttributeRepr(): dom = Document() @@ -361,7 +360,6 @@ def testAttributeRepr(): node = el.setAttribute("abc", "def") confirm(str(node) == repr(node)) dom.unlink() - confirm(len(Node.allnodes) == 0) def testTextNodeRepr(): pass @@ -371,7 +369,6 @@ def testWriteXML(): domstr = dom.toxml() dom.unlink() confirm(str == domstr) - confirm(len(Node.allnodes) == 0) def testProcessingInstruction(): pass |