We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
proba.py::test[x0] FAILED
The text was updated successfully, but these errors were encountered:
Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):
Hum, not sure how easy it is to allow it cc @pfctdayelise
You could also check yourself in _pytest/python.py's parametrize functions.
_pytest/python.py
Sorry, something went wrong.
closing as wontfix - the parametrize hack will gi via #1921
pfctdayelise
Successfully merging a pull request may close this issue.
Originally reported by: sergey chipiga (BitBucket: schipiga, GitHub: schipiga)
Code example:
or
The result:
proba.py::test[x0] FAILED
The text was updated successfully, but these errors were encountered: