gh-108388: Split test_multiprocessing_spawn (#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.
This commit is contained in:
Victor Stinner 2023-08-24 05:35:39 +02:00 committed by GitHub
parent 174e9da083
commit aa9a359ca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 117 additions and 27 deletions

View file

@ -0,0 +1,7 @@
import unittest
from test._test_multiprocessing import install_tests_in_module_dict
install_tests_in_module_dict(globals(), 'forkserver', only_type="processes")
if __name__ == '__main__':
unittest.main()