code: def test_date_format_percentf_log(pytester: Pytester) -> None:
      """Make sure that microseconds are printed in log."""
      pytester.makepyfile(
          """
          import logging
  
          logger = logging.getLogger(__name__)
  
          def test_foo():
              logger.warning('text')
              assert False
          """
      )
      pytester.makeini(
          """
          [pytest]
          log_format=%(asctime)s; %(levelname)s; %(message)s
          log_date_format=%Y-%m-%d %H:%M:%S.%f
      """
      )
      result = pytester.runpytest()
      assert result.ret == 1
      result.stdout.re_match_lines(
          [r"^[0-9-]{10} [0-9:]{8}.[0-9]{6}; WARNING; text"]
      )
  
imports: import io
  import os
  import re
  from typing import cast
  import pytest
  from _pytest.capture import CaptureManager
  from _pytest.config import ExitCode
  from _pytest.fixtures import FixtureRequest
  from _pytest.pytester import Pytester
  from _pytest.terminal import TerminalReporter
label_desc: Use image node_id 39 for calling a global function with example usage: test_date_format_percentf_log(pytester) without return types