changeset: 91680:dbf991650441 user: Victor Stinner date: Mon Jul 14 22:04:18 2014 +0200 files: Lib/test/test_asyncio/test_streams.py description: Issue #21645: test_asyncio, log debug trace into sys.__stderr__, not in sys.stderr, to get output even if tests are run with the -j command line option. diff -r a0e6a370755f -r dbf991650441 Lib/test/test_asyncio/test_streams.py --- a/Lib/test/test_asyncio/test_streams.py Mon Jul 14 21:29:23 2014 +0200 +++ b/Lib/test/test_asyncio/test_streams.py Mon Jul 14 22:04:18 2014 +0200 @@ -615,7 +615,7 @@ logger = logging.getLogger('asyncio') log_level = logger.level try: - log_handler = logging.StreamHandler(sys.stderr) + log_handler = logging.StreamHandler(sys.__stderr__) logger.addHandler(log_handler) logger.setLevel(logging.DEBUG) # FIXME: Debug code for issue #21645 ---