New issue 750: py.test can't xfail tests parametrized with classes
https://bitbucket.org/pytest-dev/pytest/issue/750/pytest-cant-xfail-tests-parametrized-with

sergey chipiga:

Code example:

```
import pytest


class A(object): pass

@pytest.mark.parametrize('x', [pytest.mark.xfail(A)])
def test(x):
    assert False
```

The result: ```proba.py::test[x0] FAILED```



Responsible: hpk42
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to