mirror of
https://github.com/python/cpython.git
synced 2025-08-28 04:35:02 +00:00
Add xml declaration into toxml testcase.
This commit is contained in:
parent
b417be2ad9
commit
fe28ca09a5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue