class_docstr: A command-line program that runs a set of tests; this is primarily
  for making test modules conveniently executable.
code: def usageExit(self, msg=None):
      warnings.warn(
          "TestProgram.usageExit() is deprecated and will be"
          " removed in Python 3.13",
          DeprecationWarning,
      )
      if msg:
          print(msg)
      if self._discovery_parser is None:
          self._initArgParsers()
      self._print_help()
      sys.exit(2)
  
imports: import sys
  import argparse
  import os
  import warnings
  from .None import loader, runner
  from .signals import installHandler
label_desc: Use image node_id 2 for calling the TestProgram obj's underlying member method code with example usage: obj.usageExit(msg) without return types