Message166760
The test cases uploaded to issue 7559 ("TestLoader.loadTestsFromName swallows import errors") a while back contain a number of distinct cases (four, I think) in which an import error can be raised. IIRC, these include a couple recursive scenarios (cyclical import from within __init__.py, etc).
Those test cases were designed specifically to cover different scenarios in which unittest's loader was swallowing import errors. Might be worth taking a look. |
|
Date |
User |
Action |
Args |
2012-07-29 13:44:31 | chris.jerdonek | set | recipients:
+ chris.jerdonek, brett.cannon, georg.brandl, amaury.forgeotdarc, ncoghlan, Arfrever, eric.snow |
2012-07-29 13:44:31 | chris.jerdonek | set | messageid: <1343569471.88.0.824503400427.issue15486@psf.upfronthosting.co.za> |
2012-07-29 13:44:31 | chris.jerdonek | link | issue15486 messages |
2012-07-29 13:44:31 | chris.jerdonek | create | |
|