code: def createTests(self, from_discovery=False, Loader=None):
      setup_python(self)
      setup_modules(self)
      setup_unittest(self)
      testdir = os.path.dirname(__file__)
      if from_discovery:
          self.start = testdir
          self.pattern = "test_*.py"
          self.testLoader = TestLoader(self.include, self.exclude)
      elif testdir not in sys.path:
          sys.path.insert(0, testdir)
      if sys.version_info < (3, 7):
          if from_discovery:
              loader = self.testLoader if Loader is None else Loader()
              self.test = loader.discover(
                  self.start, self.pattern, None
              )
          else:
              super().createTests()
          return
      super().createTests(from_discovery, Loader)
  
imports: import re
  import os
  import sys
  import argparse
  import unittest
label_desc: Use image node_id 3 for calling the TestProgram obj's underlying member method code with example usage: obj.createTests(from_discovery, Loader) without return types