Remove duplicate checks of the Node.allnodes variable.

This commit is contained in:
Fred Drake 2002-07-25 20:40:28 +00:00
parent e80c0d3580
commit fd83374fe2

View 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