code: def install_tests():
      # Test classes should have __module__ referring to this module.
      from test import test_xml_etree
  
      for name, base in vars(test_xml_etree).items():
          if isinstance(base, type) and issubclass(
              base, unittest.TestCase
          ):
  
              class Temp(base):
                  pass
  
              Temp.__name__ = Temp.__qualname__ = name
              Temp.__module__ = __name__
              assert name not in globals()
              globals()[name] = Temp
  
imports: import io
  import struct
  from test import support
  from test.support.import_helper import import_fresh_module
  import types
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: install_tests() without return types