commit | fe28ca09a5332d160adba07052bb66693d6a6b66 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Tue Feb 06 01:16:48 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Tue Feb 06 01:16:48 2001 +0000 |
tree | f06c30d79ebcd317662d796b6295237f2f37bd38 | |
parent | b417be2ad9c4d4d7ab9d682f71c771de37a48dcc [diff] [blame] |
Add xml declaration into toxml testcase.
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 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()