cpython/Lib/test/test_concurrent_futures
Victor Stinner a46e960768
gh-109649: Use os.process_cpu_count() (#110165)
Replace os.cpu_count() with os.process_cpu_count() in modules:

* compileall
* concurrent.futures
* multiprocessing

Replace os.cpu_count() with os.process_cpu_count() in programs:

* _decimal deccheck.py test
* freeze.py
* multissltests.py
* python -m test (regrtest)
* wasm_build.py

Other changes:

* test.pythoninfo logs os.process_cpu_count().
* regrtest gets os.process_cpu_count() / os.cpu_count() in headers.
2023-10-01 03:14:57 +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 gh-109565: Fix concurrent.futures test_future_times_out() (#109949) 2023-09-27 08:51:44 +00:00
test_deadlock.py gh-109832: concurrent.futures test_deadlock restores sys.stderr (#109887) 2023-09-26 12:43:45 +02:00
test_future.py
test_init.py
test_process_pool.py gh-109047: concurrent.futures catches PythonFinalizationError (#109810) 2023-09-29 19:31:19 +00:00
test_shutdown.py
test_thread_pool.py gh-109649: Use os.process_cpu_count() (#110165) 2023-10-01 03:14:57 +02:00
test_wait.py gh-109594: Fix concurrent.futures test_timeout() (#110018) 2023-09-28 15:21:15 +02:00
util.py