code: def test_save_load(scenario1: Scenario, scenario3: Scenario) -> None:
      # This should fail because we don't know the name of the scenario as meta data are not defined either
      with pytest.raises(RuntimeError):
          scenario1.save()
  
      # If we set meta data, it should work
      meta = {"test": {"test": "test"}}
      scenario1._set_meta(meta)
      scenario1.save()
  
      # We reload the scenario again and it should be the same as before
      reloaded_scenario = Scenario.load(scenario1.output_directory)
      assert scenario1 == reloaded_scenario
  
      # Do it one more time with scenario 3
      scenario3.save()
      reloaded_scenario = Scenario.load(scenario3.output_directory)
      assert scenario3 == reloaded_scenario
  
file_path: SMAC3/tests/test_scenario/test_scenario.py
imports: from pathlib import Path
  import pytest
  from ConfigSpace import ConfigurationSpace
  from smac import Scenario
label_desc: Use image node_id 13 for calling a global function with example usage: test_save_load(scenario1, scenario3) without return types