code: def test_load_config_file(ext, handler):
      handle, f_name = tempfile.mkstemp(suffix=ext)
      f = os.fdopen(handle, "w" + handler.mode)
      handler.dump(data, f)
      f.close()
      d = load_config_file(f_name)
      assert d == data
      os.remove(f_name)
  
file_path: sacred/tests/test_config/test_config_files.py
imports: import os
  import re
  import tempfile
  import pytest
  from sacred.config.config_files import HANDLER_BY_EXT, load_config_file
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_config_file(ext, handler) without return types