mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
add needed import
This commit is contained in:
parent
ed77f2e143
commit
aa4e47a04d
1 changed files with 1 additions and 0 deletions
|
@ -1756,6 +1756,7 @@ 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 run is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue