issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller

This commit is contained in:
Jesse Noller 2008-09-30 00:15:45 +00:00
parent e563aa4383
commit 37040cdace
5 changed files with 37 additions and 0 deletions

View file

@ -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