Éric Araujo <mer...@netwok.org> added the comment: IIRC the code uses C stdio to print its error message, not Python APIs, so this would explain why replacing sys.stdout doesn’t work.
There’s another test that spits things to stdout: test_subprocess. Should I clean it up too? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com