I have a project that looks like this:
project/
  setup.py
  project/
    __init__.py
    a.py
    b.py
  test/
    __init__.py
    test_a.py
    test_b.py
and b.py contains the import statement import a. 
Running python -m unittest or python setup.py test  from the project root directory results in ModuleNotFoundError when test_b.py tries to run from project import b.
As far as I can tell, this is nearly the exact setup as https://stackoverflow.com/a/24266885/4190459 but it's not working. Any pointers appreciated!
 
     
    