code: def test_enabled(pytester: Pytester) -> None:
      """Test single crashing test displays a traceback."""
      pytester.makepyfile(
          """
      import faulthandler
      def test_crash():
          faulthandler._sigabrt()
      """
      )
      result = pytester.runpytest_subprocess()
      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 1 for calling a global function with example usage: test_enabled(pytester) without return types