Kaydet (Commit) 164b0455 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

make tests fail if they can't be imported

üst c2211adc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment