Chris Jerdonek added the comment:
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.
----------
nosy: +cjerdonek
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15486>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com