docstr: If a test is run again, the warning should still be raised
code: def test_double_test(self, pytester: Pytester) -> None:
      """If a test is run again, the warning should still be raised"""
      pytester.makepyfile(
          """
              import pytest
              import warnings
  
              @pytest.mark.parametrize('run', [1, 2])
              def test(run):
                  with pytest.warns(RuntimeWarning):
                      warnings.warn("runtime", RuntimeWarning)
          """
      )
      result = pytester.runpytest()
      result.stdout.fnmatch_lines(["*2 passed in*"])
  
imports: import warnings
  from typing import List
  from typing import Optional
  from typing import Type
  import pytest
  from _pytest.pytester import Pytester
  from _pytest.recwarn import WarningsRecorder
label_desc: Use image node_id 10 for calling the TestWarns obj's underlying member method code with example usage: obj.test_double_test(pytester) without return types