diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 05:35:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 05:35:39 +0200 |
commit | aa9a359ca2663195b0f04eef46109c28c4ff74d3 (patch) | |
tree | 0e32863755a3aaae775c2680f0e051c037ad21e8 /Lib/test/test_multiprocessing_fork.py | |
parent | 174e9da0836844a2138cc8915dd305cb2cd7a583 (diff) | |
download | cpython-aa9a359ca2663195b0f04eef46109c28c4ff74d3.tar.gz cpython-aa9a359ca2663195b0f04eef46109c28c4ff74d3.zip |
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.
Diffstat (limited to 'Lib/test/test_multiprocessing_fork.py')
-rw-r--r-- | Lib/test/test_multiprocessing_fork.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Lib/test/test_multiprocessing_fork.py b/Lib/test/test_multiprocessing_fork.py deleted file mode 100644 index 5000edb7c5c..00000000000 --- a/Lib/test/test_multiprocessing_fork.py +++ /dev/null @@ -1,19 +0,0 @@ -import unittest -import test._test_multiprocessing - -import sys -from test import support - -if support.PGO: - raise unittest.SkipTest("test is not helpful for PGO") - -if sys.platform == "win32": - raise unittest.SkipTest("fork is not available on Windows") - -if sys.platform == 'darwin': - raise unittest.SkipTest("test may crash on macOS (bpo-33725)") - -test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork') - -if __name__ == '__main__': - unittest.main() |