Serhiy Storchaka 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
New submission from Hiroki “h2” Horiuchi :
Create a package `pkg`. Put `test.py` there. Write `none = None` in
`pkg/__init__.py`.
In the directory containing `pkg/`, `python [23] -m unittest pkg.test` will
terminate normally, but `python [23] -m unittest discover pkg` will