diff options
author | Jesse Noller <jnoller@gmail.com> | 2008-06-18 14:22:48 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2008-06-18 14:22:48 (GMT) |
commit | d00df3cfe67af754255a39f597375a8ca8fc986d (patch) | |
tree | 2fa03b019501c8baa5d7b9482e7f30dea4bcad0e | |
parent | 66bada5653f2dfb0589bc0209ed4171a6f65f0f9 (diff) | |
download | cpython-d00df3cfe67af754255a39f597375a8ca8fc986d.zip cpython-d00df3cfe67af754255a39f597375a8ca8fc986d.tar.gz cpython-d00df3cfe67af754255a39f597375a8ca8fc986d.tar.bz2 |
Merge r64375 to py3k
-rw-r--r-- | Lib/test/test_multiprocessing.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 04df45d..d7d3cfc 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1755,9 +1755,12 @@ globals().update(testcases_threads) # def test_main(run=None): - if sys.platform.startswith("linux") and not os.path.exists("/dev/shm"): - from test.test_support import TestSkipped - raise TestSkipped("Missing required /dev/shm device on Linux!") + if sys.platform.startswith("linux"): + try: + lock = multiprocessing.RLock() + except OSError: + from test.test_support import TestSkipped + raise TestSkipped("OSError raises on RLock creation, see issue 3111!") if run is None: from test.support import run_unittest as run |