code: def load_module(name, dir_path, no_conflict=True):
      dir_path = os.path.realpath(dir_path)
      if no_conflict and name in sys.modules:
          conflict = sys.modules[name]
          raise ImportError(
              "name conflict: module `{name}` in `{dir}` conflicts with `{existing}`".format(
                  name=name, dir=dir_path, existing=conflict.__file__
              )
          )
      spec = importlib.util.spec_from_file_location(
          name, os.path.join(dir_path, name + ".py")
      )
      module = importlib.util.module_from_spec(spec)
      sys.modules[name] = module
      spec.loader.exec_module(module)
      return module
  
file_path: h2o-3/h2o-py/tests/_utils.py
imports: import fnmatch
  import importlib
  import os
  import re
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: load_module(name, dir_path, no_conflict) and returns: module