mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
24f2a5093f
commit
ed589f5354
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ os.close(fd)
|
|||
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 ---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue