diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-01-10 22:42:10 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-01-10 22:42:10 (GMT) |
| commit | 164b0455b671989633050651433d7c419674a182 (patch) | |
| tree | ee53bd9d2113dce053a84acfa656e588228853e0 | |
| parent | c2211adcc1af6ebd71fb77873d877d77849c0b52 (diff) | |
| download | cpython-164b0455b671989633050651433d7c419674a182.zip cpython-164b0455b671989633050651433d7c419674a182.tar.gz cpython-164b0455b671989633050651433d7c419674a182.tar.bz2 | |
make tests fail if they can't be imported
| -rw-r--r-- | Lib/ctypes/test/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/ctypes/test/__init__.py b/Lib/ctypes/test/__init__.py index 70d647b..5223092 100644 --- a/Lib/ctypes/test/__init__.py +++ b/Lib/ctypes/test/__init__.py @@ -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 |
