[issue7559] TestLoader.loadTestsFromName swallows import errors

Chris Jerdonek report at bugs.python.org
Sat Apr 3 13:01:37 CEST 2010


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

> I think in both cases the error text should state not just what module was being imported but also what module was being imported from

FYI, I filed the following report partly in response to some of the comments I made above:

http://bugs.python.org/issue8297

(regarding the AttributeError not displaying the name of the module from which the caller is trying to get the attribute)

----------

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


More information about the Python-bugs-list mailing list