mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
[3.11] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#109688)
gh-108388: Split test_multiprocessing_spawn (GH-108396)
Split test_multiprocessing_fork, test_multiprocessing_forkserver and
test_multiprocessing_spawn into test packages. Each package is made
of 4 sub-tests: processes, threads, manager and misc. It allows
running more tests in parallel and so reduce the total test duration.
(cherry picked from commit aa9a359ca2
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
8d99502aac
commit
b3af888342
19 changed files with 117 additions and 27 deletions
7
Lib/test/test_multiprocessing_fork/test_processes.py
Normal file
7
Lib/test/test_multiprocessing_fork/test_processes.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
import unittest
|
||||
from test._test_multiprocessing import install_tests_in_module_dict
|
||||
|
||||
install_tests_in_module_dict(globals(), 'fork', only_type="processes")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue