6234e90683
When regrtest in run inside IDLE, sys.stdout and sys.stderr are not
TextIOWrapper objects and have no file descriptor associated:
sys.stderr.fileno() raises io.UnsupportedOperation.
Disable faulthandler and don't replace sys.stdout in that case.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
cmdline.py | ||
main.py | ||
refleak.py | ||
runtest.py | ||
runtest_mp.py | ||
save_env.py | ||
setup.py |