code: def load_tests(loader, tests, ignore):
      finder = doctest.DocTestFinder(exclude_empty=False)
  
      # Create tests for doctest in timeside modules and sub-modules
      modules_list = discover_modules(timeside.__name__)
  
      for module in modules_list:
          _tmp = __import__(module, fromlist=["DOCTEST_ALIAS"])
          try:
              DOCTEST_ALIAS = _tmp.DOCTEST_ALIAS
          except AttributeError:
              DOCTEST_ALIAS = {}
  
          tests.addTests(
              doctest.DocTestSuite(
                  module, extraglobs=DOCTEST_ALIAS, test_finder=finder
              )
          )
  
      return tests
  
imports: import unittest
  from unit_timeside import TestRunner
  import doctest
  import timeside
  from timeside.core.tools.package import discover_modules
label_desc: Use image node_id 1 for calling a global function with example usage: load_tests(loader, tests, ignore) and returns: tests