-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pytest discover installs pytest successfully, but errors #22939
Comments
Right now this is expected behavior as the logs describe the problem here "2024-02-20 10:31:53.143 [error] /Users/roblou/Downloads/pythontests/target_folder/.venv/bin/python: No module named pytest". We don't install pytest, what do you mean by "opened a terminal installed pytest into my environment for me, which was cool"? We have not seen the workflow of not having pytest first as usual for python developers as they usually install pytest to write the tests before attempting to discover them which is why we haven't invested in automating this flow. |
A terminal opened and something ran the pip install command, and I assumed it was you since the pytest log says this:
|
@karthiknadig has there been changes here? I have not seen this before |
There have been no changes, but this happens when the test discovery is triggered with |
hm I will investigate why it isn't working- thanks |
Testing #22936
I tried configuring python tests without first installing pytest. It opened a terminal installed pytest into my environment for me, which was cool. But it seemingly didn't wait for that process to complete, and showed an error that discovery failed. Here's the log from that process
The text was updated successfully, but these errors were encountered: