From 2bb8a08159ff6b474f043710f6e1aa01e8e266d6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 3 Sep 2014 23:48:08 +0200 Subject: [PATCH] Issue #22332: test_multiprocessing_main_handling is now skipped if sem_open implementation is broken (ex: skipped on FreeBSD 6.4). --- Lib/test/test_multiprocessing_main_handling.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_multiprocessing_main_handling.py b/Lib/test/test_multiprocessing_main_handling.py index bfd67378a5f..97539e061ea 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 = """\