mirror of https://github.com/python/cpython
Remove the regrtest check that turns any ImportError into a skipped test.
Hopefully all modules whose imports legitimately result in a skipped test have been properly wrapped by the previous commits.
This commit is contained in:
parent
bdeacba51b
commit
612f1d5f48
|
@ -580,7 +580,7 @@ def runtest_inner(test, verbose, quiet, test_times,
|
||||||
print test, "skipped --", msg
|
print test, "skipped --", msg
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
return -2
|
return -2
|
||||||
except (ImportError, unittest.SkipTest), msg:
|
except unittest.SkipTest, msg:
|
||||||
if not quiet:
|
if not quiet:
|
||||||
print test, "skipped --", msg
|
print test, "skipped --", msg
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
Loading…
Reference in New Issue