'Test override of the parametrized fixture with non-parametrized one on the test module level.'

def test_override_parametrized_fixture_conftest_module(self, testdir):

    testdir.makeconftest('\n                                                import    pytest\n\n                                                @pytest.fixture(params=[1,    2,    3])\n                                                def    spam(request):\n                                                                return    request.param\n                                ')
    testfile = testdir.makepyfile("\n                                                import    pytest\n\n                                                @pytest.fixture\n                                                def    spam():\n                                                                return    'spam'\n\n                                                def    test_spam(spam):\n                                                                assert    spam    ==    'spam'\n                                ")
    result = testdir.runpytest()
    result.stdout.fnmatch_lines(['*1    passed*'])
    result = testdir.runpytest(testfile)
    result.stdout.fnmatch_lines(['*1    passed*'])
