[issue16662] load_tests not invoked in package/__init__.py

Robert Collins report at bugs.python.org
Thu Aug 28 02:37:00 CEST 2014


Robert Collins added the comment:

The doc part of the patch was assuming this would be in 3.4 which it wasn't. Updated to 3.5. Also found a corner case - when packages were imported the _get_module_from_name method was not guarded for un-importable modules. This is strictly a separate issue, but since we'll now import considerably more modules, it seemed prudent to fix it at the same time.

----------
Added file: http://bugs.python.org/file36491/16662_passing_tests_full.diff

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


More information about the Python-bugs-list mailing list