Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2bb8a08

Browse files
committed
Issue #22332: test_multiprocessing_main_handling is now skipped if sem_open
implementation is broken (ex: skipped on FreeBSD 6.4).
1 parent 6ab7286 commit 2bb8a08

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/test/test_multiprocessing_main_handling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
import multiprocessing
2323
AVAILABLE_START_METHODS = set(multiprocessing.get_all_start_methods())
2424

25+
# Issue #22332: Skip tests if sem_open implementation is broken.
26+
support.import_module('multiprocessing.synchronize')
27+
2528
verbose = support.verbose
2629

2730
test_source = """\

0 commit comments

Comments
 (0)