[issue31840] `ImportError` is` raised` only when `python -m unittest discover` is given

Serhiy Storchaka report at bugs.python.org
Sun Oct 22 02:30:25 EDT 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Run

    python -m unittest discover --start-directory pkg --top-level-directory .

By default the top level directory is the same as the start directory (i.e. pkg).

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list