[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

Inada Naoki report at bugs.python.org
Sun Jul 19 07:29:16 EDT 2020


Inada Naoki <songofacandy at gmail.com> added the comment:

In such case, both directories must be specified explicitly.

Test discovery doesn't know that a directory is namespace package or
namespace package. So it shouldn't assume it is namespace package unless
specified.

Note that PEP 420 searches namespace package only when it is specified.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23882>
_______________________________________


More information about the Python-bugs-list mailing list