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
avoid “init.py” files in your test directories. This way your tests can run easily against an installed version of mypkg, independently from the installed package if it contains the tests or not.
The text was updated successfully, but these errors were encountered:
I suggest replacing __init__.py by a conftest.py (https://pytest.org/latest/plugins.html) if the directory tests would be empty, it would not persist in git - and adding a conftest.py seems better than checking in a .dummy.txt
The pytest docs (https://pytest.org/latest/goodpractises.html) advice to not put an
__init__.py
file into the tests directory:The text was updated successfully, but these errors were encountered: