[issue7559] TestLoader.loadTestsFromName swallows import errors

R. David Murray report at bugs.python.org
Mon Jun 4 17:32:14 CEST 2012


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

That would probably be OK, but I don't see why clearing the cache in those same methods (that create directories on the path) would be any harder.  (It isn't necessary to clear the cache *afterward*, only before, as far as I can see, since the case of a directory not existing that the cache thinks exists should be handled correctly by importlib).

----------

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


More information about the Python-bugs-list mailing list