Merged revisions 64358 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64358 | benjamin.peterson | 2008-06-17 18:01:59 -0500 (Tue, 17 Jun 2008) | 1 line

  add needed import
........
This commit is contained in:
Benjamin Peterson 2008-06-17 23:05:33 +00:00
parent 3c0dd067c6
commit 68ac331898
1 changed files with 1 additions and 0 deletions

View File

@ -1756,6 +1756,7 @@ globals().update(testcases_threads)
def test_main(run=None): def test_main(run=None):
if sys.platform.startswith("linux") and not os.path.exists("/dev/shm"): 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!") raise TestSkipped("Missing required /dev/shm device on Linux!")
if run is None: if run is None: