[issue45410] python -m test -jN: write stderr in stdout to get messages in order

STINNER Victor report at bugs.python.org
Mon Oct 11 21:02:55 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

Calling sys.stdout doesn't help :-(

Fail at commit ce3489cfdb9f0e050bdc45ce5d3902c2577ea683:
https://buildbot.python.org/all/#/builders/73/builds/788
---
0:00:10 load avg: 7.59 [306/427/1] test_ftplib failed (env changed)
Warning -- Uncaught thread exception: Exception
Exception in thread Thread-67:
(...)
Exception
test__all__ (test.test_ftplib.MiscTestCase) ... ok
test_abort (test.test_ftplib.TestFTPClass) ... ok
test_acct (test.test_ftplib.TestFTPClass) ... ok
(...)
---

The warning cannot come from MiscTestCase.test__all__(), so the warning is still logged at the wrong place.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45410>
_______________________________________


More information about the Python-bugs-list mailing list