Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Lib/test/test_asyncio/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import ssl
except ImportError:
ssl = None
import stat
import subprocess
import sys
import threading
Expand Down Expand Up @@ -2652,7 +2653,8 @@ def tearDown(self):
asyncio.get_event_loop = self.get_event_loop_saved

if sys.platform != 'win32':

@unittest.skipUnless(os.path.exists("/dev/shm") and stat.S_IMODE(os.stat('/dev/shm').st_mode) >= 0o777,
"Doesn't work without /dev/shm.")
def test_get_event_loop_new_process(self):
# Issue bpo-32126: The multiprocessing module used by
# ProcessPoolExecutor is not functional when the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Skip test_get_event_loop_new_process on systems which don’t provide it
(e.g., building environments of some Linux distributions).