'If a test is run again, the warning should still be raised'

def test_double_test(self, testdir):

    testdir.makepyfile('\n                                                import    pytest\n                                                import    warnings\n\n                                                @pytest.mark.parametrize(\'run\',    [1,    2])\n                                                def    test(run):\n                                                                with    pytest.warns(RuntimeWarning):\n                                                                                warnings.warn("runtime",    RuntimeWarning)\n                                ')
    result = testdir.runpytest()
    result.stdout.fnmatch_lines(['*2    passed    in*'])
