mirror of
https://github.com/python/cpython.git
synced 2025-09-17 06:06:25 +00:00
issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller
This commit is contained in:
parent
e563aa4383
commit
37040cdace
5 changed files with 37 additions and 0 deletions
|
@ -18,6 +18,14 @@ import socket
|
|||
import random
|
||||
import logging
|
||||
|
||||
|
||||
# Work around broken sem_open implementations
|
||||
try:
|
||||
import multiprocessing.synchronize
|
||||
except ImportError, e:
|
||||
from test.test_support import TestSkipped
|
||||
raise TestSkipped(e)
|
||||
|
||||
import multiprocessing.dummy
|
||||
import multiprocessing.connection
|
||||
import multiprocessing.managers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue