code: def pytest_exception_interact(
      node: Union["Item", "Collector"],
      call: "CallInfo[Any]",
      report: Union["CollectReport", "TestReport"],
  ) -> None:
      """Called when an exception was raised which can potentially be
      interactively handled.
  
      May be called during collection (see :hook:`pytest_make_collect_report`),
      in which case ``report`` is a :class:`~pytest.CollectReport`.
  
      May be called during runtest of an item (see :hook:`pytest_runtest_protocol`),
      in which case ``report`` is a :class:`~pytest.TestReport`.
  
      This hook is not called if the exception that was raised is an internal
      exception like ``skip.Exception``.
  
      :param node:
          The item or collector.
      :param call:
          The call information. Contains the exception.
      :param report:
          The collection or test report.
      """
  
imports: from pathlib import Path
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Mapping
  from typing import Optional
  from typing import Sequence
  from typing import Tuple
  from typing import TYPE_CHECKING
  from typing import Union
  from pluggy import HookspecMarker
label_desc: Use image node_id 50 for calling a global function with example usage: pytest_exception_interact(node, call, report) without return types