Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8a89c commit 0a84a33Copy full SHA for 0a84a33
2 files changed
Lib/test/output/test_minidom
@@ -103,5 +103,6 @@ Test Succeeded testTooManyDocumentElements
103
Passed Test
104
Test Succeeded testUnlink
105
Test Succeeded testWriteText
106
+Passed Test
107
Test Succeeded testWriteXML
108
All tests succeeded
Lib/test/test_minidom.py
@@ -246,7 +246,12 @@ def testAttributeRepr():
246
247
def testTextNodeRepr(): pass
248
249
-def testWriteXML(): pass
+def testWriteXML():
250
+ str = '<a b="c"/>'
251
+ dom = parseString(str)
252
+ domstr = dom.toxml()
253
+ dom.unlink()
254
+ confirm(str == domstr)
255
256
def testProcessingInstruction(): pass
257
0 commit comments