]> granicus.if.org Git - python/commitdiff
bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)
authorNed Deily <nad@python.org>
Sun, 9 Dec 2018 06:50:15 +0000 (01:50 -0500)
committerGitHub <noreply@github.com>
Sun, 9 Dec 2018 06:50:15 +0000 (01:50 -0500)
Lib/test/test_multiprocessing_fork.py
Misc/NEWS.d/next/Tests/2018-12-09-01-27-29.bpo-33725.TaGayj.rst [new file with mode: 0644]

index 9f22500e8fca85cd70cd05a3af473b8bfd54f0e9..daadcd3cc3124aa16d8a1b62fd7a7f1183a704a2 100644 (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')
 
diff --git a/Misc/NEWS.d/next/Tests/2018-12-09-01-27-29.bpo-33725.TaGayj.rst b/Misc/NEWS.d/next/Tests/2018-12-09-01-27-29.bpo-33725.TaGayj.rst
new file mode 100644 (file)
index 0000000..425048c
--- /dev/null
@@ -0,0 +1,2 @@
+test_multiprocessing_fork may crash on recent versions of macOS.  Until the
+issue is resolved, skip the test on macOS.