-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Using @pytest.mark.skipif on a fixture silently fails. #964
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
Comments
marks on fixtures are not considered or taken into account |
Perhaps it should be made explicit in the documentation about |
good point |
Is there any design reason we cannot expand |
its tricky, complicated, and impossible to implement correct on the current mark mechanism |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since
pytest.skip(...)
can be used inside a fixture, I'd've expected that@pytest.mark.skipif
does as well - turns out it seems to do nothing:The text was updated successfully, but these errors were encountered: