'Make sure a parametrized argument can override a parametrized fixture.
This was a regression introduced in the fix for #736.'

@pytest.mark.parametrize('param_args', ["'fixt,    val'", "'fixt,val'", "['fixt',    'val']", "('fixt',    'val')"])
def test_override_parametrized_fixture_issue_979(self, testdir, param_args):

    testdir.makepyfile(("\n                                                import    pytest\n\n                                                @pytest.fixture(params=[1,    2])\n                                                def    fixt(request):\n                                                                return    request.param\n\n                                                @pytest.mark.parametrize(%s,    [(3,    'x'),    (4,    'x')])\n                                                def    test_foo(fixt,    val):\n                                                                pass\n                                " % param_args))
    reprec = testdir.inline_run()
    reprec.assertoutcome(passed=2)
