summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-02-06 01:16:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-02-06 01:16:48 (GMT)
commitfe28ca09a5332d160adba07052bb66693d6a6b66 (patch)
treef06c30d79ebcd317662d796b6295237f2f37bd38
parentb417be2ad9c4d4d7ab9d682f71c771de37a48dcc (diff)
downloadcpython-fe28ca09a5332d160adba07052bb66693d6a6b66.zip
cpython-fe28ca09a5332d160adba07052bb66693d6a6b66.tar.gz
cpython-fe28ca09a5332d160adba07052bb66693d6a6b66.tar.bz2
Add xml declaration into toxml testcase.
-rw-r--r--Lib/test/test_minidom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py
index 002b036..4574803 100644
--- a/Lib/test/test_minidom.py
+++ b/Lib/test/test_minidom.py
@@ -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()