-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run pytest #88
Comments
I don't think it's related to the plugin - maybe some of the env vars you set break it? |
Yes. I found out that the problem occurs when setting the PYTHONPATH variable. If I set PYTHONPATH into the file, the error is raised. |
Glad you was able to figure it out! 😊 |
But there is a right way to set PYTHONPATH into the .env file? I mean, have you ever tried setting the pythonpath variable? If I set it in the usual way, I don't have problems. |
Hi, I recently had an issue running any test with pytest where the env variables where set by an .env file. This is the error message given by pycharm:
These are my settings:
PyCharm 2019.1.3 (Community Edition)
Build #PC-191.7479.30, built on May 29, 2019
JRE: 11.0.2+9-b159.60 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5
The EnvFile version is 3.2.0
If I uncheck the use of the .env file, the tests run correctly.
The text was updated successfully, but these errors were encountered: