code: def load_tests(loader, tests, pattern):
      import os.path
  
      # top level directory cached on loader instance
      this_dir = os.path.dirname(__file__)
      return loader.discover(start_dir=this_dir, pattern=pattern)
  
file_path: catboost/contrib/tools/python3/src/Lib/unittest/__init__.py
imports: from .result import TestResult
  from .case import addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip, skipIf, skipUnless, expectedFailure, doModuleCleanups, enterModuleContext
  from .suite import BaseTestSuite, TestSuite
  from .loader import TestLoader, defaultTestLoader
  from .main import TestProgram, main
  from .runner import TextTestRunner, TextTestResult
  from .signals import installHandler, registerResult, removeResult, removeHandler
  from .loader import makeSuite, getTestCaseNames, findTestCases
label_desc: Use image node_id 1 for calling a global function with example usage: load_tests(loader, tests, pattern) and returns: loader