code: def test_dynamic_fixture_request(pytester: Pytester) -> None:
      p = pytester.makepyfile(
          """
          import pytest
          @pytest.fixture()
          def dynamically_requested_fixture():
              pass
          @pytest.fixture()
          def dependent_fixture(request):
              request.getfixturevalue('dynamically_requested_fixture')
          def test_dyn(dependent_fixture):
              pass
      """
      )
  
      result = pytester.runpytest("--setup-only", p)
      assert result.ret == 0
  
      result.stdout.fnmatch_lines(
          [
              "*SETUP    F dynamically_requested_fixture",
              "*TEARDOWN F dynamically_requested_fixture",
          ]
      )
  
file_path: pytest/testing/test_setuponly.py
imports: import sys
  import pytest
  from _pytest.config import ExitCode
  from _pytest.pytester import Pytester
label_desc: Use image node_id 9 for calling a global function with example usage: test_dynamic_fixture_request(pytester) without return types