]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix the test_minidom failure.
authorGuido van Rossum <guido@python.org>
Tue, 7 Aug 2007 23:03:33 +0000 (23:03 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Aug 2007 23:03:33 +0000 (23:03 +0000)
commit55b15c9f059b3a22d03159296b1a5187df6489a6
treefc23783c163dfc2b27dbe321f0ade917f63e1c28
parentbdba5cf69478c82b3f8f644e52e6b6ca7d474b97
Fix the test_minidom failure.
We just need to force the encoding when no encoding is passed to toxml()
or toprettyxml(), rather than relying on the default encoding (which is
unreliable).
Lib/xml/dom/minidom.py