make tests fail if they can't be imported

This commit is contained in:
Benjamin Peterson 2009-01-10 22:42:10 +00:00
parent c2211adcc1
commit 164b0455b6
1 changed files with 0 additions and 3 deletions

View File

@ -67,9 +67,6 @@ def get_tests(package, mask, verbosity, exclude=()):
if verbosity > 1:
print >> sys.stderr, "Skipped %s: %s" % (modname, detail)
continue
except Exception, detail:
print >> sys.stderr, "Warning: could not import %s: %s" % (modname, detail)
continue
for name in dir(mod):
if name.startswith("_"):
continue