]> granicus.if.org Git - python/commitdiff
Issue #22332: test_multiprocessing_main_handling is now skipped if sem_open
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Sep 2014 21:48:08 +0000 (23:48 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 3 Sep 2014 21:48:08 +0000 (23:48 +0200)
implementation is broken (ex: skipped on FreeBSD 6.4).

Lib/test/test_multiprocessing_main_handling.py

index bfd67378a5f143060a7b9d4e4f37dc4e01342d66..97539e061eae3dc9a86e31b86f091008c377ad0f 100644 (file)
@@ -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 = """\