This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients Arfrever, amaury.forgeotdarc, brett.cannon, chris.jerdonek, eric.snow, georg.brandl, ncoghlan
Date 2012-07-29.13:44:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343569471.88.0.824503400427.issue15486@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-29 13:44:31chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, georg.brandl, amaury.forgeotdarc, ncoghlan, Arfrever, eric.snow
2012-07-29 13:44:31chris.jerdoneksetmessageid: <1343569471.88.0.824503400427.issue15486@psf.upfronthosting.co.za>
2012-07-29 13:44:31chris.jerdoneklinkissue15486 messages
2012-07-29 13:44:31chris.jerdonekcreate