code: def _get_runner(
      checker=None,
      verbose=None,
      optionflags=0,
      continue_on_failure=True,
  ):
      # We need this in order to do a lazy import on doctest
      global RUNNER_CLASS
      if RUNNER_CLASS is None:
          RUNNER_CLASS = _init_runner_class()
      return RUNNER_CLASS(
          checker=checker,
          verbose=verbose,
          optionflags=optionflags,
          continue_on_failure=continue_on_failure,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import platform
  import sys
  import traceback
  import warnings
  from contextlib import contextmanager
  import pytest
  from _pytest._code.code import ExceptionInfo
  from _pytest._code.code import ReprFileLocation
  from _pytest._code.code import TerminalRepr
  from _pytest.compat import safe_getattr
  from _pytest.fixtures import FixtureRequest
  from _pytest.outcomes import Skipped
  from _pytest.warning_types import PytestWarning
label_desc: Use image node_id 6 for calling a global function with example usage: _get_runner(checker, verbose, optionflags, continue_on_failure) and returns: RUNNER_CLASS