mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)
This commit is contained in:
parent
99d56b5356
commit
ac218bc5db
2 changed files with 5 additions and 0 deletions
|
@ -1,11 +1,14 @@
|
||||||
import unittest
|
import unittest
|
||||||
import test._test_multiprocessing
|
import test._test_multiprocessing
|
||||||
|
|
||||||
|
import sys
|
||||||
from test import support
|
from test import support
|
||||||
|
|
||||||
if support.PGO:
|
if support.PGO:
|
||||||
raise unittest.SkipTest("test is not helpful for PGO")
|
raise unittest.SkipTest("test is not helpful for PGO")
|
||||||
|
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
raise unittest.SkipTest("test may crash on macOS (bpo-33725)")
|
||||||
|
|
||||||
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork')
|
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork')
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
test_multiprocessing_fork may crash on recent versions of macOS. Until the
|
||||||
|
issue is resolved, skip the test on macOS.
|
Loading…
Add table
Add a link
Reference in a new issue