import-checker: backout 40f79b9a2cc8 (issue4129)
authorChris Jerdonek <chris.jerdonek@gmail.com>
Sun, 22 Dec 2013 21:27:00 -0800
changeset 20199 d87ed25733a1
parent 20198 f5393a9dc4e5
child 20200 532fa12033e1
import-checker: backout 40f79b9a2cc8 (issue4129) This patch backs out 40f79b9a2cc8, which caused test-module-imports.t to be skipped when the test was run using virtualenv. Since the test now passes when using virtualenv, the skip is no longer necessary.
tests/test-module-imports.t
--- a/tests/test-module-imports.t	Sun Dec 22 21:20:38 2013 -0800
+++ b/tests/test-module-imports.t	Sun Dec 22 21:27:00 2013 -0800
@@ -2,13 +2,6 @@
 this test on anything earlier.
   $ python -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
 
-Virtualenv has a habit of leaving BaseHTTPServer and other modules in
-a place where the import checker is confused about their nature as
-part of the stdlib. Skip the test if BaseHTTPServer's path isn't a
-subpath of sys.prefix.
-
-  $ python -c 'import sys, BaseHTTPServer; assert BaseHTTPServer.__file__.startswith(sys.prefix)' || exit 80
-
   $ import_checker="$TESTDIR"/../contrib/import-checker.py
 Run the doctests from the import checker, and make sure
 it's working correctly.