code: def test_none_help_param_raises_exception(pytester: Pytester) -> None:
      """Test that a None help param raises a TypeError."""
      pytester.makeconftest(
          """
          def pytest_addoption(parser):
              parser.addini("test_ini", None, default=True, type="bool")
      """
      )
      result = pytester.runpytest("--help")
      result.stderr.fnmatch_lines(
          ["*TypeError: help argument cannot be None for test_ini*"]
      )
  
file_path: pytest/testing/test_helpconfig.py
imports: import pytest
  from _pytest.config import ExitCode
  from _pytest.pytester import Pytester
label_desc: Use image node_id 5 for calling a global function with example usage: test_none_help_param_raises_exception(pytester) without return types