changeset 20199:d87ed25733a1

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.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Sun, 22 Dec 2013 21:27:00 -0800
parents f5393a9dc4e5
children 532fa12033e1
files tests/test-module-imports.t
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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.