cpython/Lib/test/libregrtest
Victor Stinner b136b1aac4
bpo-43843: libregrtest uses threading.excepthook (GH-25400)
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__.
2021-04-16 14:33:10 +02:00
..
__init__.py
cmdline.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
main.py bpo-41718: libregrtest avoids importing datetime (GH-24985) 2021-03-23 01:40:31 +01:00
pgo.py bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) 2021-02-26 14:51:55 -08:00
refleak.py bpo-41718: Reduce libregrtest runtest imports (GH-24980) 2021-03-23 00:17:05 +01:00
runtest.py bpo-41718: libregrtest runtest avoids import_helper (GH-24983) 2021-03-23 01:08:49 +01:00
runtest_mp.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
save_env.py bpo-41718: regrtest saved_test_environment avoids imports (GH-24934) 2021-03-22 23:52:13 +01:00
setup.py bpo-43843: libregrtest uses threading.excepthook (GH-25400) 2021-04-16 14:33:10 +02:00
utils.py bpo-43843: libregrtest uses threading.excepthook (GH-25400) 2021-04-16 14:33:10 +02:00
win_utils.py bpo-40275: Use new test.support helper submodules in tests (GH-21772) 2020-08-07 23:55:35 +02:00