[Python-checkins] r70876 - python/trunk/Lib/test/regrtest.py

r.david.murray python-checkins at python.org
Tue Mar 31 21:49:15 CEST 2009


Author: r.david.murray
Date: Tue Mar 31 21:49:15 2009
New Revision: 70876

Log:
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.


Modified:
   python/trunk/Lib/test/regrtest.py

Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Tue Mar 31 21:49:15 2009
@@ -580,7 +580,7 @@
             print test, "skipped --", msg
             sys.stdout.flush()
         return -2
-    except (ImportError, unittest.SkipTest), msg:
+    except unittest.SkipTest, msg:
         if not quiet:
             print test, "skipped --", msg
             sys.stdout.flush()


More information about the Python-checkins mailing list