Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

r70876 - python/trunk/Lib/test/regrtest.py

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Mar 31, 2009, 12:49 PM

Post #1 of 1 (160 views)
Permalink
r70876 - python/trunk/Lib/test/regrtest.py

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()
_______________________________________________
Python-checkins mailing list
Python-checkins [at] python
http://mail.python.org/mailman/listinfo/python-checkins

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.