mirror of https://github.com/python/cpython.git
Add xml declaration into toxml testcase.
This commit is contained in:
parent
b417be2ad9
commit
fe28ca09a5
|
@ -272,7 +272,7 @@ def testAttributeRepr():
|
|||
def testTextNodeRepr(): pass
|
||||
|
||||
def testWriteXML():
|
||||
str = '<a b="c"/>'
|
||||
str = '<?xml version="1.0" ?>\n<a b="c"/>'
|
||||
dom = parseString(str)
|
||||
domstr = dom.toxml()
|
||||
dom.unlink()
|
||||
|
|
Loading…
Reference in New Issue