[issue29642] Why does unittest.TestLoader.discover still rely on existence of __init__.py files?

INADA Naoki report at bugs.python.org
Tue Feb 28 02:45:00 EST 2017


INADA Naoki added the comment:

I'm afraid this change makes testloader searches unrelated directory contains massive files (like node_modules).

I don't think loading all tests from whole namespace package is not usual use case.

----------
nosy: +inada.naoki

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


More information about the Python-bugs-list mailing list