Replies: 1 comment 1 reply
-
This happens in user code, unrelated to pytest |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a source file that I want to test but I am getting import errors when I run the test. I am using an anaconda environment for the project. I have added the init.py in both the source directory as well as test directory.
My source file looks like this:
If I comment out the line
project_dir = get_project_path()
then the test runs fine without any errors else I get the below errors with the line uncommented.My test file looks like this:
Beta Was this translation helpful? Give feedback.
All reactions