mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
test.libregrtest now marks a test as ENV_CHANGED (altered the execution environment) if a thread raises an exception but does not catch it. It sets a hook on threading.excepthook. Use --fail-env-changed option to mark the test as failed. libregrtest regrtest_unraisable_hook() explicitly flushs sys.stdout, sys.stderr and sys.__stderr__. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cmdline.py | ||
| main.py | ||
| pgo.py | ||
| refleak.py | ||
| runtest.py | ||
| runtest_mp.py | ||
| save_env.py | ||
| setup.py | ||
| utils.py | ||
| win_utils.py | ||