code: def test_already_initialized_crash(pytester: Pytester) -> None:
      """Even if faulthandler is already initialized, we still dump tracebacks on crashes (#8258)."""
      pytester.makepyfile(
          """
          def test():
              import faulthandler
              faulthandler._sigabrt()
      """
      )
      result = pytester.run(
          sys.executable,
          "-X",
          "faulthandler",
          "-mpytest",
          pytester.path,
      )
      result.stderr.fnmatch_lines(["*Fatal Python error*"])
      assert result.ret != 0
  
file_path: pytest/testing/test_faulthandler.py
imports: import io
  import sys
  import pytest
  from _pytest.pytester import Pytester
label_desc: Use image node_id 8 for calling a global function with example usage: test_already_initialized_crash(pytester) without return types