]> granicus.if.org Git - python/commitdiff
Remove duplicate checks of the Node.allnodes variable.
authorFred Drake <fdrake@acm.org>
Thu, 25 Jul 2002 20:40:28 +0000 (20:40 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Jul 2002 20:40:28 +0000 (20:40 +0000)
Lib/test/test_minidom.py

index 4d7a1af081e67edd708f5154f9e854daf388e9ea..9e00b4f79903d02f4283012dab0b06c7ec4ad078 100644 (file)
@@ -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