pytest >= 3.2.4 raises an exception when pytest.mark.xfail() is used as a fixture param #2942
Labels
topic: marks
related to marks, either the general marks or builtin
type: bug
problem that needs to be addressed
I have a conftest.py with a parametrized fixture in a test subdir (see a minimal example attached) with one of the params declared as pytest.mark.xfail(). This puppy worked with pytest == 3.2.3 but after the pytest update to 3.2.4 (3.2.5 also affected) I get:
Please note that no exception is raised if I move conftest.py to the test root dir.
To setup the virtualenv and start the tests I do:
Minimal example attached: ft.zip
Virtualenv package list attached: virtualenv.txt
The virtualenv is deployed with:
OS: Red Hat Enterprise Linux Server release 7.4 (Maipo)
edit by @nicoddemus: formatting
The text was updated successfully, but these errors were encountered: