[Python-checkins] bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043)

Miss Islington (bot) webhook-mailer at python.org
Sun Dec 9 02:06:56 EST 2018


https://github.com/python/cpython/commit/d4bcf13e06d33b8ec66a68db20df34a029e66882
commit: d4bcf13e06d33b8ec66a68db20df34a029e66882
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-12-08T23:06:53-08:00
summary:

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

(cherry picked from commit ac218bc5dbfabbd61c76ce8a17de088611e21981)

Co-authored-by: Ned Deily <nad at python.org>

files:
A Misc/NEWS.d/next/Tests/2018-12-09-01-27-29.bpo-33725.TaGayj.rst
M Lib/test/test_multiprocessing_fork.py

diff --git a/Lib/test/test_multiprocessing_fork.py b/Lib/test/test_multiprocessing_fork.py
index 9f22500e8fca..daadcd3cc312 100644
--- a/Lib/test/test_multiprocessing_fork.py
+++ b/Lib/test/test_multiprocessing_fork.py
@@ -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
index 000000000000..425048cb37cf
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2018-12-09-01-27-29.bpo-33725.TaGayj.rst
@@ -0,0 +1,2 @@
+test_multiprocessing_fork may crash on recent versions of macOS.  Until the
+issue is resolved, skip the test on macOS.



More information about the Python-checkins mailing list