GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
due to the dual api nature of marks, even for non-test-classes its necessary to use pytest.mark.foo()(SomeClass) instead of just the mark
and due to python, that means it cant actually be used as decorator anymore due to double call
my bad, actually the double one doesn't work as well
for fixing - the marker testing needs to check for test functions/classes instead of functions/classes
this may be a breaking change
fix pytest-dev#2540, introduce mark.with_args
Merge pull request #2600 from RonnyPfannschmidt/mark_explicit_params
fix #2540, introduce mark.with_args
fixed in #2604