You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using python 3.5 and installed the latest pytest package with pip install.
I noticed in order to run py.test when I had example.py in my directory, I had to mention example.py as one of the command arguments. The guide said we can simply run py.test but it says: collected 0 items.
The text was updated successfully, but these errors were encountered:
Where in which guide are you seeing that? It doesn't work in your case because your file is named example.py - pytest only picks up files named test_*.py by default.
I am using python 3.5 and installed the latest pytest package with pip install.
I noticed in order to run py.test when I had example.py in my directory, I had to mention example.py as one of the command arguments. The guide said we can simply run py.test but it says: collected 0 items.
The text was updated successfully, but these errors were encountered: