Serhiy Storchaka added the comment: Why Lib/test/xmltestdata/test.xml.out contains '\r'? AFAIK Windows buildbots are happy with current tests.
A nitpick for first proposed solution: you can append ".replace(b'\r', b'')" just to "f.read()". A nitpick for second proposed solution: encoding should be "iso-8859-1" (for both open() and encode()). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18889> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com