Closed
Description
Originally reported by: sergey chipiga (BitBucket: schipiga, GitHub: schipiga)
Code example:
import pytest
class A(object): pass
@pytest.mark.parametrize('x', [pytest.mark.xfail(A)])
def test(x):
assert False
or
import pytest
def b():pass
@pytest.mark.parametrize('x', [pytest.mark.xfail(b)])
def test(x):
assert False
The result: proba.py::test[x0] FAILED