Add xml declaration into toxml testcase.

This commit is contained in:
Martin v. Löwis 2001-02-06 01:16:48 +00:00
parent b417be2ad9
commit fe28ca09a5
1 changed files with 1 additions and 1 deletions

View File

@ -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()