diff options
author | idomic <michael.ido@gmail.com> | 2020-05-26 14:54:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 14:54:21 (GMT) |
commit | db098bc1f05bd0773943e59f83489f05f28dedf8 (patch) | |
tree | 05d3c4c2d7910fed80411f653a4afe842a430bc8 /Lib/test/_test_multiprocessing.py | |
parent | 5eb45d7d4e812e89d77da84cc619e9db81561a34 (diff) | |
download | cpython-db098bc1f05bd0773943e59f83489f05f28dedf8.zip cpython-db098bc1f05bd0773943e59f83489f05f28dedf8.tar.gz cpython-db098bc1f05bd0773943e59f83489f05f28dedf8.tar.bz2 |
bpo-39244: multiprocessing return default start method first on macOS (GH-18625)
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-rw-r--r-- | Lib/test/_test_multiprocessing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index dc8164f..155a827 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -5039,7 +5039,9 @@ class TestStartMethod(unittest.TestCase): self.assertEqual(methods, ['spawn']) else: self.assertTrue(methods == ['fork', 'spawn'] or - methods == ['fork', 'spawn', 'forkserver']) + methods == ['spawn', 'fork'] or + methods == ['fork', 'spawn', 'forkserver'] or + methods == ['spawn', 'fork', 'forkserver']) def test_preload_resources(self): if multiprocessing.get_start_method() != 'forkserver': |