From: Benjamin Peterson Date: Tue, 17 Jun 2008 22:43:48 +0000 (+0000) Subject: Merged revisions 64356 via svnmerge from X-Git-Tag: v3.0b1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c0dd067c67372e1bcc94742209f3d3448e5f00a;p=thirdparty%2FPython%2Fcpython.git Merged revisions 64356 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64356 | benjamin.peterson | 2008-06-17 17:40:44 -0500 (Tue, 17 Jun 2008) | 1 line skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env. ........ --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 4b36efed148a..14341be7b07c 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1755,6 +1755,9 @@ globals().update(testcases_threads) # def test_main(run=None): + if sys.platform.startswith("linux") and not os.path.exists("/dev/shm"): + raise TestSkipped("Missing required /dev/shm device on Linux!") + if run is None: from test.support import run_unittest as run