def test_issues2(testdir):
    testdir.makepyfile("\n        import pytest\n        @pytest.fixture(params=[1, 2, 3])\n        def one(request):\n            return request.param\n\n        @pytest.fixture(params=[pytest.lazy_fixture('one')])\n        def as_str(request):\n            return str(request.getfixturevalue('one'))\n\n        @pytest.mark.parametrize('val', ('a', 'b', 'c'))\n        def test_as_str(val, as_str):\n            combined = ''.join((val, as_str))\n            assert combined in {'a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3'}\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=9)
def test_issues2(testdir):
    testdir.makepyfile("\n        import pytest\n        @pytest.fixture(params=[1, 2, 3])\n        def one(request):\n            return request.param\n\n        @pytest.fixture(params=[pytest.lazy_fixture('one')])\n        def as_str(request):\n            return str(request.getfixturevalue('one'))\n\n        @pytest.mark.parametrize('val', ('a', 'b', 'c'))\n        def test_as_str(val, as_str):\n            combined = .join((val, as_str))\n            assert combined in {'a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3'}\n    ")
    reprec = testdir.inline_run('-s')
    reprec.assertoutcome(passed=9)