summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-04-22 02:24:39 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-04-22 02:24:39 (GMT)
commiteb3615d9f662b372ca19346fbf3d9c2d0d88840d (patch)
treeed46bb7a2a860d8d14dec81f82d49578eb0065db /Lib/test/test_posix.py
parentc4cae32683c0ece3a3fb06c69c11117b205f449d (diff)
downloadcpython-eb3615d9f662b372ca19346fbf3d9c2d0d88840d.zip
cpython-eb3615d9f662b372ca19346fbf3d9c2d0d88840d.tar.gz
cpython-eb3615d9f662b372ca19346fbf3d9c2d0d88840d.tar.bz2
Merged revisions 71785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71785 | r.david.murray | 2009-04-21 09:06:04 -0400 (Tue, 21 Apr 2009) | 4 lines Restore skips of posix and pty tests on Windows by calling the test_support.import_module on the appropriate modules before any other imports. ........
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index ff9b106..8d1bb59 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -1,7 +1,9 @@
"Test posix functions"
from test import support
-posix = support.import_module('posix') #skip if not supported
+
+# Skip these tests if there is no posix module.
+posix = support.import_module('posix')
import time
import os