(original) (raw)
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.