diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-06 04:32:18 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-06 04:32:18 (GMT) |
commit | e50959a58ef4f365295f0393cb980de890c0024a (patch) | |
tree | dab611a240b38d3b88d5c8df21839fa06eb5f7cb /Lib/test/output | |
parent | bf7c8045887c0f97698b5ce80a28ddbae40c957e (diff) | |
download | cpython-e50959a58ef4f365295f0393cb980de890c0024a.zip cpython-e50959a58ef4f365295f0393cb980de890c0024a.tar.gz cpython-e50959a58ef4f365295f0393cb980de890c0024a.tar.bz2 |
Fix appendChild() and insertBefore() (and replaceChild() indirectly) when
the node being added is a fragment node.
This closes SF bug #487929.
Diffstat (limited to 'Lib/test/output')
-rw-r--r-- | Lib/test/output/test_minidom | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/output/test_minidom b/Lib/test/output/test_minidom index b14f74e..14e8845 100644 --- a/Lib/test/output/test_minidom +++ b/Lib/test/output/test_minidom @@ -19,6 +19,9 @@ Passed Test Passed Test Test Succeeded testAppendChild Passed assertion: len(Node.allnodes) == 0 +Passed appendChild(<fragment>) +Test Succeeded testAppendChildFragment +Passed assertion: len(Node.allnodes) == 0 Test Succeeded testAttrListItem Passed assertion: len(Node.allnodes) == 0 Test Succeeded testAttrListItemNS @@ -122,6 +125,10 @@ Passed testInsertBefore -- node properly placed in tree Passed testInsertBefore -- node properly placed in tree Test Succeeded testInsertBefore Passed assertion: len(Node.allnodes) == 0 +Passed insertBefore(<fragment>, None) +Passed insertBefore(<fragment>, orig) +Test Succeeded testInsertBeforeFragment +Passed assertion: len(Node.allnodes) == 0 Test Succeeded testLegalChildren Passed assertion: len(Node.allnodes) == 0 Passed test NodeList.item() @@ -172,6 +179,9 @@ Passed Test Passed Test Test Succeeded testRemoveAttributeNode Passed assertion: len(Node.allnodes) == 0 +Passed replaceChild(<fragment>) +Test Succeeded testReplaceChildFragment +Passed assertion: len(Node.allnodes) == 0 Passed testSAX2DOM - siblings Passed testSAX2DOM - parents Test Succeeded testSAX2DOM |