summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-09 19:57:39 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-09 19:57:39 (GMT)
commitebe73025cde08703861322a6ae38095dbe494512 (patch)
tree11b943499011423ff62e2269bd418ef4294f891e /Lib/test/output
parent5c2c6046eb8cc8489422e3742d20241c1d500e0a (diff)
downloadcpython-ebe73025cde08703861322a6ae38095dbe494512.zip
cpython-ebe73025cde08703861322a6ae38095dbe494512.tar.gz
cpython-ebe73025cde08703861322a6ae38095dbe494512.tar.bz2
Move the test for confirmation that all nodes have been freed into the
driver code, so that each test gets this; it had been done inconsistently. Remove the lines that set the variables holding dom objects to None; not needed since the interpreter cleans up locals on function return.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_minidom76
1 files changed, 67 insertions, 9 deletions
diff --git a/Lib/test/output/test_minidom b/Lib/test/output/test_minidom
index 2fa4032..168ce18 100644
--- a/Lib/test/output/test_minidom
+++ b/Lib/test/output/test_minidom
@@ -1,6 +1,8 @@
test_minidom
Test Succeeded testAAA
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAAB
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Passed Test
@@ -10,99 +12,155 @@ Passed Test
Passed Test
Passed Test
Test Succeeded testAddAttr
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Test Succeeded testAppendChild
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListItem
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListItemNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListItems
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListKeys
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListKeysNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListLength
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrListValues
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrList__getitem__
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testAttrList__setitem__
+Passed assertion: len(Node.allnodes) == 0
Passed Test
-Test Succeeded testAttributeRepr
Passed Test
+Test Succeeded testAttributeRepr
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Passed Test
Passed Test
Passed Test
Test Succeeded testChangeAttr
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testChildNodes
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneAttributeDeep
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneAttributeShallow
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneDocumentDeep
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneDocumentShallow
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneElementDeep
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneElementShallow
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCloneElementShallowCopiesAttributes
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testClonePIDeep
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testClonePIShallow
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testComment
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCreatAttributeNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testCreateElementNS
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Passed Test
Test Succeeded testDeleteAttr
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testDocumentElement
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testElement
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testElementReprAndStr
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testFirstChild
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttrLength
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttrList
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttrValues
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttribute
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttributeNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetAttributeNode
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testGetElementsByTagName
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetElementsByTagNameNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testGetEmptyNodeListFromElementsByTagNameNS
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testHasChildNodes
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testInsertBefore
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Test Succeeded testNonZero
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParse
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseAttributeNamespaces
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseAttributes
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseElement
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseElementNamespaces
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Test Succeeded testParseFromFile
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseProcessingInstructions
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testParseString
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testProcessingInstruction
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testProcessingInstructionRepr
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Test Succeeded testRemoveAttr
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Test Succeeded testRemoveAttrNS
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Passed Test
Passed Test
Test Succeeded testRemoveAttributeNode
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testSetAttrValueandNodeValue
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testTextNodeRepr
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testTextRepr
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testTooManyDocumentElements
-Passed Test
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testUnlink
+Passed assertion: len(Node.allnodes) == 0
Test Succeeded testWriteText
+Passed assertion: len(Node.allnodes) == 0
+Passed Test
Passed Test
Test Succeeded testWriteXML
+Passed assertion: len(Node.allnodes) == 0
All tests succeeded