Commit fd83374f authored by Fred Drake's avatar Fred Drake

Remove duplicate checks of the Node.allnodes variable.

parent e80c0d35
...@@ -353,7 +353,6 @@ def _testElementReprAndStrUnicodeNS(): ...@@ -353,7 +353,6 @@ def _testElementReprAndStrUnicodeNS():
confirm(string1 == string2) confirm(string1 == string2)
confirm(string1.find("slash:abc") != -1) confirm(string1.find("slash:abc") != -1)
dom.unlink() dom.unlink()
confirm(len(Node.allnodes) == 0)
def testAttributeRepr(): def testAttributeRepr():
dom = Document() dom = Document()
...@@ -361,7 +360,6 @@ def testAttributeRepr(): ...@@ -361,7 +360,6 @@ def testAttributeRepr():
node = el.setAttribute("abc", "def") node = el.setAttribute("abc", "def")
confirm(str(node) == repr(node)) confirm(str(node) == repr(node))
dom.unlink() dom.unlink()
confirm(len(Node.allnodes) == 0)
def testTextNodeRepr(): pass def testTextNodeRepr(): pass
...@@ -371,7 +369,6 @@ def testWriteXML(): ...@@ -371,7 +369,6 @@ def testWriteXML():
domstr = dom.toxml() domstr = dom.toxml()
dom.unlink() dom.unlink()
confirm(str == domstr) confirm(str == domstr)
confirm(len(Node.allnodes) == 0)
def testProcessingInstruction(): pass def testProcessingInstruction(): pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment