mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
![]() regrtest now uses sys.unraisablehook() to mark a test as "environment altered" (ENV_CHANGED) if it emits an "unraisable exception". Moreover, regrtest logs a warning in this case. Use "python3 -m test --fail-env-changed" to catch unraisable exceptions in tests. |
||
---|---|---|
.. | ||
__init__.py | ||
cmdline.py | ||
main.py | ||
refleak.py | ||
runtest.py | ||
runtest_mp.py | ||
save_env.py | ||
setup.py | ||
utils.py | ||
win_utils.py |