Kaydet (Commit) fe28ca09 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Add xml declaration into toxml testcase.

üst b417be2a
...@@ -272,7 +272,7 @@ def testAttributeRepr(): ...@@ -272,7 +272,7 @@ def testAttributeRepr():
def testTextNodeRepr(): pass def testTextNodeRepr(): pass
def testWriteXML(): def testWriteXML():
str = '<a b="c"/>' str = '<?xml version="1.0" ?>\n<a b="c"/>'
dom = parseString(str) dom = parseString(str)
domstr = dom.toxml() domstr = dom.toxml()
dom.unlink() dom.unlink()
......
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