code: def test_disabled(pytester: Pytester) -> None:
      """Test option to disable fault handler in the command line."""
      pytester.makepyfile(
          """
      import faulthandler
      def test_disabled():
          assert not faulthandler.is_enabled()
      """
      )
      result = pytester.runpytest_subprocess("-p", "no:faulthandler")
      result.stdout.fnmatch_lines(["*1 passed*"])
      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 5 for calling a global function with example usage: test_disabled(pytester) without return types