code: def test_record_tuples(caplog: pytest.LogCaptureFixture) -> None:
      caplog.set_level(logging.INFO)
      logger.info("boo %s", "arg")
  
      assert caplog.record_tuples == [
          (__name__, logging.INFO, "boo arg")
      ]
  
imports: import logging
  from typing import Iterator
  import pytest
  from _pytest.logging import caplog_records_key
  from _pytest.pytester import Pytester
label_desc: Use image node_id 14 for calling a global function with example usage: test_record_tuples(caplog) without return types