code: def test_save_and_load(handler):
      with tempfile.TemporaryFile("w+" + handler.mode) as f:
          handler.dump(data, f)
          f.seek(0)  # simulates closing and reopening
          d = handler.load(f)
          assert d == data
  
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 1 for calling a global function with example usage: test_save_and_load(handler) without return types