diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-25 16:15:53 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-25 16:15:53 (GMT) |
| commit | 22621907eea3f0ed4ccf5a69bcef70a70396b36b (patch) | |
| tree | b333c3cfb7e55c17d57fc0f74d861224eec3160b /Lib/test/test_multiprocessing_spawn/test_threads.py | |
| parent | 09487a202fdcbc94089794ad80158d3847d4a6f8 (diff) | |
| download | cpython-22621907eea3f0ed4ccf5a69bcef70a70396b36b.zip cpython-22621907eea3f0ed4ccf5a69bcef70a70396b36b.tar.gz cpython-22621907eea3f0ed4ccf5a69bcef70a70396b36b.tar.bz2 | |
[3.12] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#108442)
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 aa9a359ca2663195b0f04eef46109c28c4ff74d3)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/test_multiprocessing_spawn/test_threads.py')
| -rw-r--r-- | Lib/test/test_multiprocessing_spawn/test_threads.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing_spawn/test_threads.py b/Lib/test/test_multiprocessing_spawn/test_threads.py new file mode 100644 index 0000000..c125774 --- /dev/null +++ b/Lib/test/test_multiprocessing_spawn/test_threads.py @@ -0,0 +1,7 @@ +import unittest +from test._test_multiprocessing import install_tests_in_module_dict + +install_tests_in_module_dict(globals(), 'spawn', only_type="threads") + +if __name__ == '__main__': + unittest.main() |
