bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)

This commit is contained in:
Ned Deily 2018-12-09 01:50:15 -05:00 committed by GitHub
parent 99d56b5356
commit ac218bc5db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -1,11 +1,14 @@
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 == 'darwin':
raise unittest.SkipTest("test may crash on macOS (bpo-33725)")
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork')

View file

@ -0,0 +1,2 @@
test_multiprocessing_fork may crash on recent versions of macOS. Until the
issue is resolved, skip the test on macOS.