[issue7559] TestLoader.loadTestsFromName swallows import errors

Chris Jerdonek report at bugs.python.org
Wed Apr 7 19:55:47 CEST 2010


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

Thanks, David.  Sorry about that.  The test probably requires one additional level of nesting so that "parts_copy" is not False:

+                    if not parts_copy or not module_not_found:
                         raise

----------

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


More information about the Python-bugs-list mailing list