code: def test_fixtures_in_module(pytester: Pytester) -> None:
      p = pytester.makepyfile(
          '''
          import pytest
          @pytest.fixture
          def _arg0():
              """hidden arg0 fixture"""
          @pytest.fixture
          def arg1():
              """arg1 docstring"""
          def test_arg1(arg1):
              pass
      '''
      )
  
      result = pytester.runpytest("--fixtures-per-test", p)
      assert result.ret == 0
  
      result.stdout.fnmatch_lines(
          [
              "*fixtures used by test_arg1*",
              "*(test_fixtures_in_module.py:9)*",
              "arg1 -- test_fixtures_in_module.py:6",
              "    arg1 docstring",
          ]
      )
      result.stdout.no_fnmatch_line("*_arg0*")
  
file_path: pytest/testing/python/show_fixtures_per_test.py
imports: from _pytest.pytester import Pytester
label_desc: Use image node_id 2 for calling a global function with example usage: test_fixtures_in_module(pytester) without return types