summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-25 20:40:28 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-25 20:40:28 (GMT)
commitfd83374fe212855292995ea5cf4b79e2336a004f (patch)
tree32c2466570ba55f04f0e6342770c0711649f414e
parente80c0d35808000a783f8cc667c8841f7aa0b1ad6 (diff)
downloadcpython-fd83374fe212855292995ea5cf4b79e2336a004f.zip
cpython-fd83374fe212855292995ea5cf4b79e2336a004f.tar.gz
cpython-fd83374fe212855292995ea5cf4b79e2336a004f.tar.bz2
Remove duplicate checks of the Node.allnodes variable.
-rw-r--r--Lib/test/test_minidom.py3
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