mirror of https://github.com/python/cpython
add needed import
This commit is contained in:
parent
ed77f2e143
commit
aa4e47a04d
|
@ -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…
Reference in New Issue