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 not sure how but I am in this situation where pytest is going through all my source checkouts and picking up all their root-level conftest.py files and then errors out. Should I move the conftest.py file one-level down in the code tree and be done with it? I vaguely remember you recommend a root-level conftest.py but that was a while ago. Or is there another solution to ask pytest not to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure how but I am in this situation where pytest is going through all my source checkouts and picking up all their root-level conftest.py files and then errors out. Should I move the conftest.py file one-level down in the code tree and be done with it? I vaguely remember you recommend a root-level conftest.py but that was a while ago. Or is there another solution to ask pytest not to do this?
I am using Git Bash on Windows 11, hence the weird path formatting in the message. Same problem with pytest 7.1.2 and 7.0.x.
Beta Was this translation helpful? Give feedback.
All reactions