code: def test_re_emit_match_multiple(self) -> None:
      with warnings.catch_warnings():
          warnings.simplefilter("error")  # if anything is re-emitted
          with pytest.warns(UserWarning, match="user warning"):
              warnings.warn("first user warning", UserWarning)
              warnings.warn("second user warning", UserWarning)
  
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 19 for calling the TestWarns obj's underlying member method code with example usage: obj.test_re_emit_match_multiple() without return types