[issue7559] TestLoader.loadTestsFromName swallows import errors

R. David Murray report at bugs.python.org
Sat Apr 21 16:03:54 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Does fix for issue 1559549 (and the fact that importlib is in) allow for a cleaner fix for this?  I've been putting off dealing with this issue in the expectation that it would.

To answer the question: the fixed API can go in 3.3.  If we fix this in earlier versions the API should probably stay the same there, and since the above is 3.3 only, the existing patch is probably appropriate there.  

If Michael doesn't pass judgement soon I'll take a look, since this causes me problems at least once a week.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7559>
_______________________________________


More information about the Python-bugs-list mailing list