summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_minidom.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_minidom.py')
-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()