diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-09-03 21:48:08 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-09-03 21:48:08 (GMT) |
commit | 2bb8a08159ff6b474f043710f6e1aa01e8e266d6 (patch) | |
tree | 6f93e140a524f59be2052626cbb8bd153976682c /Lib | |
parent | 6ab728612d57a93db23e1bbafc15019744f7355e (diff) | |
download | cpython-2bb8a08159ff6b474f043710f6e1aa01e8e266d6.zip cpython-2bb8a08159ff6b474f043710f6e1aa01e8e266d6.tar.gz cpython-2bb8a08159ff6b474f043710f6e1aa01e8e266d6.tar.bz2 |
Issue #22332: test_multiprocessing_main_handling is now skipped if sem_open
implementation is broken (ex: skipped on FreeBSD 6.4).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_multiprocessing_main_handling.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing_main_handling.py b/Lib/test/test_multiprocessing_main_handling.py index bfd6737..97539e0 100644 --- a/Lib/test/test_multiprocessing_main_handling.py +++ b/Lib/test/test_multiprocessing_main_handling.py @@ -22,6 +22,9 @@ from test.script_helper import ( import multiprocessing AVAILABLE_START_METHODS = set(multiprocessing.get_all_start_methods()) +# Issue #22332: Skip tests if sem_open implementation is broken. +support.import_module('multiprocessing.synchronize') + verbose = support.verbose test_source = """\ |