add needed import

This commit is contained in:
Benjamin Peterson 2008-06-17 23:01:59 +00:00
parent ed77f2e143
commit aa4e47a04d
1 changed files with 1 additions and 0 deletions

View File

@ -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: