commit | 3e1f85eb5d20098dd98c941394b2f781dee957d3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jul 27 18:03:11 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jul 27 18:03:11 2007 +0000 |
tree | d60e53f916c52ea5e363eb13701e478395726254 | |
parent | 3992db81b6c4050a26f7e242b1f16fee245b3127 [diff] |
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.