I have a project with the following structure
-project
--src
--test
when i run pytest inside project folder from python2 (python2 -m pytest), it works fine, however, with python 3 (python3 -m pytest), i have an error in the test files as it cant find the imports in the src folder
I have an __init__.py in both folders
Is there any reason why it should be different in python2 and python3? How could i make it work in python3?
Thanks