code: def test_unicode(caplog: pytest.LogCaptureFixture) -> None:
      caplog.set_level(logging.INFO)
      logger.info("bū")
      assert caplog.records[0].levelname == "INFO"
      assert caplog.records[0].msg == "bū"
      assert "bū" in caplog.text
  
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 15 for calling a global function with example usage: test_unicode(caplog) without return types