def test_issues10_xfail(testdir):
    testdir.makepyfile("\n        import pytest\n        def division(a, b):\n            return a / b\n\n        @pytest.fixture(params=[0])\n        def zero(request):\n            return request.param\n\n        @pytest.mark.parametrize(('a', 'b'), [\n            pytest.param(1, pytest.lazy_fixture('zero'), marks=pytest.mark.xfail(reason=ZeroDivisionError))\n        ])\n        def test_division(a, b):\n            division(a, b)\n    ")
    reprec = testdir.inline_run('-s', '-v')
    reprec.assertoutcome(skipped=1)
def test_issues10_xfail(testdir):
    testdir.makepyfile("\n        import pytest\n        def division(a, b):\n            return a / b\n\n        @pytest.fixture(params=[0])\n        def zero(request):\n            return request.param\n\n        @pytest.mark.parametrize(('a', 'b'), [\n            pytest.param(1, pytest.lazy_fixture('zero'), marks=pytest.mark.xfail(reason=ZeroDivisionError))\n        ])\n        def test_division(a, b):\n            division(a, b)\n    ")
    reprec = testdir.inline_run('-s', '-v')
    reprec.assertoutcome(skipped=1)