Applying multiple skipifs to parametrized test using param(marks=[]) is order dependent #3368
Labels
topic: marks
related to marks, either the general marks or builtin
topic: parametrize
related to @pytest.mark.parametrize
type: bug
problem that needs to be addressed
If I execute
with Python 3.6.3 and pytest 3.5 on Windows 10 64-bit, then I get
The "bar" version of the test is skipped in
test_that_passes
, but it's executed intest_that_fails
. The only difference between these two tests is the order of the skipif marks in the pytest.param argument. I would expect the "bar" version of both tests to be skipped since they both have a skipif(True) mark applied. I think this is a slightly different issue than #1296, but presumably related.The text was updated successfully, but these errors were encountered: