cpython/Lib/test/test_concurrent_futures
Victor Stinner a8cae4071c
gh-107219: Fix concurrent.futures terminate_broken() (#108974)
Fix a race condition in _ExecutorManagerThread.terminate_broken():
ignore the InvalidStateError on future.set_exception(). It can happen
if the future is cancelled before the caller.

Moreover, test_crash_big_data() now waits explicitly until the
executor completes.
2023-09-06 15:57:01 +02:00
..
__init__.py
executor.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_as_completed.py
test_deadlock.py gh-107219: Fix concurrent.futures terminate_broken() (#108974) 2023-09-06 15:57:01 +02:00
test_future.py
test_init.py
test_process_pool.py
test_shutdown.py
test_thread_pool.py
test_wait.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
util.py