-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
skipif mark from parametrize hides module level skipif mark #1540
Comments
i'm not sure if we already added support for obtaining mark from parameters that come via fixtures can you verify against the 2.9 series? |
Still happens with pytest 2.9: ======================================== test session starts =========================================
platform linux2 -- Python 2.7.6, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python
cachedir: .cache
rootdir: xxx, inifile:
plugins: cov-2.2.0, pep8-1.0.6
collected 1 items
example_test.py::test_1[parameter] PASSED
====================================== 1 passed in 0.00 seconds ====================================== |
after analysis this one has to be solved after landing #1534 |
this requires #2522 |
#2672 will be the first step to fixing this currently marks from parametrize just override other marks, and thats wrong |
fixed in #3317 |
Thank you so much for fixing this! |
Using pytestmark in combination with fixtures that has a skip causes the pytestmark to be ignored.
MWE:
returns:
The text was updated successfully, but these errors were encountered: