summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r--Lib/test/test_multiprocessing.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 4b36efe..14341be 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