Message179903
| Author |
chris.jerdonek |
| Recipients |
Arfrever, brett.cannon, chris.jerdonek, eric.araujo, ezio.melotti, michael.foord, zach.ware |
| Date |
2013年01月14日.00:06:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1358121987.89.0.109308121743.issue16935@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Without the proposed enhancement, you could also combine Éric's approach with the original patch by doing something like:
try:
support.import_module(module)
except SkipTest:
module = None
def setUpModule():
if module is None:
raise SkipTest() |
|