summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_minidom
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-06 18:27:48 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-06 18:27:48 (GMT)
commit2998a55f2dd658d15d033272ac88aebfc0dda957 (patch)
treecbf941b754429c1a408bb4a79221322c31751d31 /Lib/test/output/test_minidom
parent6b04ffe9e59dc8df46f2d68646ed82cbbef0714c (diff)
downloadcpython-2998a55f2dd658d15d033272ac88aebfc0dda957.zip
cpython-2998a55f2dd658d15d033272ac88aebfc0dda957.tar.gz
cpython-2998a55f2dd658d15d033272ac88aebfc0dda957.tar.bz2
Attribute nodes did not always get their ownerDocument and ownerElement
properly set. This fixes that.
Diffstat (limited to 'Lib/test/output/test_minidom')
-rw-r--r--Lib/test/output/test_minidom8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/output/test_minidom b/Lib/test/output/test_minidom
index 14e8845..fc1017b 100644
--- a/Lib/test/output/test_minidom
+++ b/Lib/test/output/test_minidom
@@ -1,5 +1,7 @@
test_minidom
Passed testAAA
+Passed setAttribute() sets ownerDocument
+Passed setAttribute() sets ownerElement
Test Succeeded testAAA
Passed assertion: len(Node.allnodes) == 0
Passed testAAB
@@ -131,6 +133,12 @@ Test Succeeded testInsertBeforeFragment
Passed assertion: len(Node.allnodes) == 0
Test Succeeded testLegalChildren
Passed assertion: len(Node.allnodes) == 0
+Passed NamedNodeMap.__setitem__() sets ownerDocument
+Passed NamedNodeMap.__setitem__() sets ownerElement
+Passed NamedNodeMap.__setitem__() sets value
+Passed NamedNodeMap.__setitem__() sets nodeValue
+Test Succeeded testNamedNodeMapSetItem
+Passed assertion: len(Node.allnodes) == 0
Passed test NodeList.item()
Test Succeeded testNodeListItem
Passed assertion: len(Node.allnodes) == 0