##// END OF EJS Templates
import-checker: backout 40f79b9a2cc8 (issue4129)...
Chris Jerdonek -
r20199:d87ed257 default
parent child Browse files
Show More
@@ -2,13 +2,6 b' This code uses the ast module, which was'
2 this test on anything earlier.
2 this test on anything earlier.
3 $ python -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
3 $ python -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
4
4
5 Virtualenv has a habit of leaving BaseHTTPServer and other modules in
6 a place where the import checker is confused about their nature as
7 part of the stdlib. Skip the test if BaseHTTPServer's path isn't a
8 subpath of sys.prefix.
9
10 $ python -c 'import sys, BaseHTTPServer; assert BaseHTTPServer.__file__.startswith(sys.prefix)' || exit 80
11
12 $ import_checker="$TESTDIR"/../contrib/import-checker.py
5 $ import_checker="$TESTDIR"/../contrib/import-checker.py
13 Run the doctests from the import checker, and make sure
6 Run the doctests from the import checker, and make sure
14 it's working correctly.
7 it's working correctly.
General Comments 0
You need to be logged in to leave comments. Login now