sedrubal added the comment: What is the problem with using the patch by moritz (https://bugs.python.org/issue14156#msg162342) and change the unit test to this:
class TestFileTypeWB(TempDirMixin, ParserTestCase): ... successes = [ ..., ('-x - -', NS(x=sys.stdout.buffer, spam=sys.stdout.buffer)), ] and respectively for stdin? ---------- nosy: +sedrubal _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14156> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com