PY-23167: Support packages with out __init__.py for Py2 test runners

You can use Python path like "spam.eggs" where "spam" does not have
__init__.py. This scheme is used by runners to report test names.

For Py3 it works, but not for Py2.
``_jb_runner_tools`` contains logic to workaround it
This commit is contained in:
Ilya.Kazakevich
2017-03-18 04:52:35 +03:00
parent d25a90b6f5
commit 401a5af85d
3 changed files with 75 additions and 13 deletions
@@ -0,0 +1,8 @@
def test_test():
assert False
def test_2_test():
pass