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 <>
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, 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:31chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, georg.brandl, amaury.forgeotdarc, ncoghlan, Arfrever, eric.snow
2012-07-29 13:44:31chris.jerdoneksetmessageid: <>
2012-07-29 13:44:31chris.jerdoneklinkissue15486 messages
2012-07-29 13:44:31chris.jerdonekcreate