def test_issues12_skip_test_function(testdir):
    testdir.makepyfile("\n        import pytest\n\n        @pytest.fixture\n        def one():\n            return 1\n\n        @pytest.mark.parametrize('a', [\n            pytest.param(pytest.lazy_fixture('one'), marks=pytest.mark.skip(reason='skip'))\n        ])\n        def test_skip1(a):\n            assert a == 1\n\n        @pytest.mark.skip(reason='skip')\n        @pytest.mark.parametrize('a', [\n            pytest.lazy_fixture('one')\n        ])\n        def test_skip2(a):\n            assert a == 1\n\n        def test_after_skip(one):\n            assert one == 1\n    ")
    reprec = testdir.inline_run('-s', '-v')
    reprec.assertoutcome(skipped=2, passed=1)
def test_issues12_skip_test_function(testdir):
    testdir.makepyfile("\n        import pytest\n\n        @pytest.fixture\n        def one():\n            return 1\n\n        @pytest.mark.parametrize('a', [\n            pytest.param(pytest.lazy_fixture('one'), marks=pytest.mark.skip(reason='skip'))\n        ])\n        def test_skip1(a):\n            assert a == 1\n\n        @pytest.mark.skip(reason='skip')\n        @pytest.mark.parametrize('a', [\n            pytest.lazy_fixture('one')\n        ])\n        def test_skip2(a):\n            assert a == 1\n\n        def test_after_skip(one):\n            assert one == 1\n    ")
    reprec = testdir.inline_run('-s', '-v')
    reprec.assertoutcome(skipped=2, passed=1)