class_docstr: This class is responsible for loading tests according to various criteria
  and returning them wrapped in a TestSuite
docstr: Return a suite of all test cases contained in testCaseClass
docstr_tok: ["Return","a","suite","of","all","test","cases","contained","in","testCaseClass"]
code: def loadTestsFromTestCase(self, testCaseClass):
      """Return a suite of all test cases contained in testCaseClass"""
      if issubclass(testCaseClass, suite.TestSuite):
          raise TypeError(
              "Test cases should not be derived from "
              "TestSuite. Maybe you meant to derive from "
              "TestCase?"
          )
      if testCaseClass in (case.TestCase, case.FunctionTestCase):
          # We don't load any tests from base types that should not be loaded.
          testCaseNames = []
      else:
          testCaseNames = self.getTestCaseNames(testCaseClass)
          if not testCaseNames and hasattr(testCaseClass, "runTest"):
              testCaseNames = ["runTest"]
      loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
      return loaded_suite
  
imports: import os
  import re
  import sys
  import traceback
  import types
  import functools
  import warnings
  from fnmatch import fnmatch, fnmatchcase
  from .None import case, suite, util
label_desc: Use image node_id 2 for calling the TestLoader obj's underlying member method code with example usage: obj.loadTestsFromTestCase(testCaseClass) and returns: loaded_suite