code: def test_overwrite():
      dump_obj(
          [1, "a", {"b": 3}],
          dir_name="overwrite",
          dump_design_info=True,
          overwrite_exist_dir=True,
      )
      loaded_obj = load_obj(dir_name="overwrite")
      assert loaded_obj == [1, "a", {"b": 3}]
      # Overwrites the same dir with a different object.
      dump_obj(
          [2, "b", {"c": 4}],
          dir_name="overwrite",
          dump_design_info=True,
          overwrite_exist_dir=True,
      )
      loaded_obj = load_obj(dir_name="overwrite")
      assert loaded_obj == [2, "b", {"c": 4}]
      recursive_rm_dir("overwrite")
  
imports: import inspect
  import os
  import sys
  from collections import OrderedDict
  import pytest
  from greykite.common.python_utils import assert_equal
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.framework.templates.autogen.forecast_config import ComputationParam
  from greykite.framework.templates.autogen.forecast_config import EvaluationPeriodParam
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.autogen.forecast_config import MetadataParam
  from greykite.framework.templates.autogen.forecast_config import ModelComponentsParam
  from greykite.framework.templates.forecaster import Forecaster
  from greykite.framework.templates.model_templates import ModelTemplateEnum
  from greykite.framework.templates.pickle_utils import dump_obj
  from greykite.framework.templates.pickle_utils import load_obj
  from greykite.framework.templates.pickle_utils import recursive_rm_dir
  from greykite.framework.utils.result_summary import summarize_grid_search_results
label_desc: Use image node_id 13 for calling a global function with example usage: test_overwrite() without return types