code: def test_h2o_logger_inherits_root_logger():
      from h2o.utils.config import H2OConfigReader
  
      H2OConfigReader.get_config()  # this module uses h2o logger
  
      root = logging.getLogger()
      logger = logging.getLogger("h2o")
      console = logging.StreamHandler()
  
      assert not _has_handlers(root)
      assert not _has_handlers(logger)
  
      with LoggingContext(root, handler=console, level=logging.INFO):
          assert _has_handlers(root)
          assert _has_handlers(logger)
          logging.info("list root handlers: %s", root.handlers)
          logging.info("list h2o handlers: %s", logger.handlers)
  
file_path: h2o-3/h2o-py/tests/testdir_utils/pyunit_logger.py
imports: import sys
  import logging
  from tests import pyunit_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_h2o_logger_inherits_root_logger() without return types