STINNER Victor <victor.stin...@haypocalc.com> added the comment: The bug only occurs on Mac OS X because file system encoding is hardcoded to UTF-8 on this OS and the test is skipped if the file system encoding is ASCII.
But the bug is not specific to test_warnings, as mentionned by R. David Murray: #8533 is the real bug. test_warnings is just an example to reproduce it. I just commited a fix for #8533: it should fix also this issue. ---------- assignee: brett.cannon -> haypo dependencies: +regrtest: use backslashreplace error handler for stdout _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8589> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com