diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-09-03 23:48:37 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-09-03 23:48:37 +0200 |
commit | e96c83bde1fe7cc8e4813cb92ee522ca2f477844 (patch) | |
tree | 79412183fd923b251ec4457d3256e13639f952c4 | |
parent | a6b6bba5ed12a06c25ce431d8bd3706a45ee65a5 (diff) | |
parent | 2bb8a08159ff6b474f043710f6e1aa01e8e266d6 (diff) | |
download | cpython-git-e96c83bde1fe7cc8e4813cb92ee522ca2f477844.tar.gz |
(Merge 3.4) Issue #22332: test_multiprocessing_main_handling is now skipped if
sem_open implementation is broken (ex: skipped on FreeBSD 6.4).
-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 bfd67378a5..97539e061e 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 = """\ |