[Python-checkins] r68512 - python/trunk/Lib/ctypes/test/__init__.py

benjamin.peterson python-checkins at python.org
Sat Jan 10 23:42:11 CET 2009


Author: benjamin.peterson
Date: Sat Jan 10 23:42:10 2009
New Revision: 68512

Log:
make tests fail if they can't be imported

Modified:
   python/trunk/Lib/ctypes/test/__init__.py

Modified: python/trunk/Lib/ctypes/test/__init__.py
==============================================================================
--- python/trunk/Lib/ctypes/test/__init__.py	(original)
+++ python/trunk/Lib/ctypes/test/__init__.py	Sat Jan 10 23:42:10 2009
@@ -67,9 +67,6 @@
             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


More information about the Python-checkins mailing list