it's pytest.xfail, not pytest.mark.xfail :)