code: def test_setup_function_failure_no_teardown(
      pytester: Pytester,
  ) -> None:
      reprec = pytester.inline_runsource(
          """
          modlevel = []
          def setup_function(function):
              modlevel.append(1)
              0/0
  
          def teardown_function(module):
              modlevel.append(2)
  
          def test_func():
              pass
      """
      )
      calls = reprec.getcalls("pytest_runtest_setup")
      assert calls[0].item.module.modlevel == [1]
  
file_path: pytest/testing/test_runner_xunit.py
imports: from typing import List
  import pytest
  from _pytest.pytester import Pytester
label_desc: Use image node_id 3 for calling a global function with example usage: test_setup_function_failure_no_teardown(pytester) without return types