code: def pytest_terminal_summary(terminalreporter, exitstatus, config):
      """Add a section to terminal summary reporting.
  
      :param _pytest.terminal.TerminalReporter terminalreporter: the internal terminal reporter object
      :param int exitstatus: the exit status that will be reported back to the OS
      :param _pytest.config.Config config: pytest config object
  
      .. versionadded:: 4.2
          The ``config`` parameter.
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 46 for calling a global function with example usage: pytest_terminal_summary(terminalreporter, exitstatus, config) without return types