code: def test_module_setup_failure_no_teardown(pytester: Pytester) -> None:
      reprec = pytester.inline_runsource(
          """
          values = []
          def setup_module(module):
              values.append(1)
              0/0
  
          def test_nothing():
              pass
  
          def teardown_module(module):
              values.append(2)
      """
      )
      reprec.assertoutcome(failed=1)
      calls = reprec.getcalls("pytest_runtest_setup")
      assert calls[0].item.module.values == [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 2 for calling a global function with example usage: test_module_setup_failure_no_teardown(pytester) without return types