code: def test_unicode(pytester: Pytester) -> None:
      pytester.makepyfile(
          """
          import warnings
          import pytest
  
  
          @pytest.fixture
          def fix():
              warnings.warn("测试")
              yield
  
          def test_func(fix):
              pass
          """
      )
      result = pytester.runpytest()
      result.stdout.fnmatch_lines(
          [
              "*== %s ==*" % WARNINGS_SUMMARY_HEADER,
              "*test_unicode.py:7: UserWarning: \u6d4b\u8bd5*",
              "* 1 passed, 1 warning*",
          ]
      )
  
imports: import os
  import sys
  import warnings
  from typing import List
  from typing import Optional
  from typing import Tuple
  import pytest
  from _pytest.fixtures import FixtureRequest
  from _pytest.pytester import Pytester
label_desc: Use image node_id 6 for calling a global function with example usage: test_unicode(pytester) without return types