code: def test_setup_funcarg_setup_when_outer_scope_fails(
      pytester: Pytester,
  ) -> None:
      p = pytester.makepyfile(
          """
          import pytest
          def setup_module(mod):
              raise ValueError(42)
          @pytest.fixture
          def hello(request):
              raise ValueError("xyz43")
          def test_function1(hello):
              pass
          def test_function2(hello):
              pass
      """
      )
      result = pytester.runpytest(p)
      result.stdout.fnmatch_lines(
          [
              "*function1*",
              "*ValueError*42*",
              "*function2*",
              "*ValueError*42*",
              "*2 errors*",
          ]
      )
      result.stdout.no_fnmatch_line("*xyz43*")
  
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 11 for calling a global function with example usage: test_setup_funcarg_setup_when_outer_scope_fails(pytester) without return types