Hello.
I have following layout:

\---tests
    |   test_module.py
    |   __init__.py


When I launch "python.exe" -m unittest discover -t . -s tests" it works
perfectly.
But when I remove " __init__.py" it says

 Start directory is not importable: "tests'"

``loader.py``:
if start_dir != top_level_dir:
    is_not_importable = not os.path.isfile(os.path.join(start_dir,
'__init__.py'))


I believe ``__init__.py`` does not play any role since Python 3.3, am I
right?
If so, it seems to be a bug. Should I create an issue?

Ilya.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to