]> granicus.if.org Git - python/commit
Fix the minidom test.
authorGuido van Rossum <guido@python.org>
Fri, 27 Jul 2007 18:03:11 +0000 (18:03 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 Jul 2007 18:03:11 +0000 (18:03 +0000)
commit3e1f85eb5d20098dd98c941394b2f781dee957d3
treed60e53f916c52ea5e363eb13701e478395726254
parent3992db81b6c4050a26f7e242b1f16fee245b3127
Fix the minidom test.
In order to do this, I added an optional encoding argument to io.StringIO.
The toprettyxml() function returns bytes when you specify an encoding now.
Lib/io.py
Lib/test/test_minidom.py
Lib/xml/dom/minidom.py