diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-02-06 01:16:48 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-02-06 01:16:48 (GMT) |
commit | fe28ca09a5332d160adba07052bb66693d6a6b66 (patch) | |
tree | f06c30d79ebcd317662d796b6295237f2f37bd38 /Lib/test/test_minidom.py | |
parent | b417be2ad9c4d4d7ab9d682f71c771de37a48dcc (diff) | |
download | cpython-fe28ca09a5332d160adba07052bb66693d6a6b66.zip cpython-fe28ca09a5332d160adba07052bb66693d6a6b66.tar.gz cpython-fe28ca09a5332d160adba07052bb66693d6a6b66.tar.bz2 |
Add xml declaration into toxml testcase.
Diffstat (limited to 'Lib/test/test_minidom.py')
-rw-r--r-- | Lib/test/test_minidom.py | 2 |
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() |