From: Martin v. Löwis Date: Tue, 6 Feb 2001 01:16:48 +0000 (+0000) Subject: Add xml declaration into toxml testcase. X-Git-Tag: v2.1b1~505 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe28ca09a5332d160adba07052bb66693d6a6b66;p=python Add xml declaration into toxml testcase. --- diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 002b03670c..457480349a 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 = '' + str = '\n' dom = parseString(str) domstr = dom.toxml() dom.unlink()