code: def test_load_sweep_config():
      assert not utils.load_sweep_config("s.yaml")
  
      json.dump({}, open("s.yaml", "w"))
      assert not utils.load_sweep_config("s.yaml")
  
      json.dump({"metric": "banana"}, open("s.yaml", "w"))
      assert utils.load_sweep_config("s.yaml")
  
      with open("s1.yaml", "w") as f:
          f.write('{"metric": "banana"')
  
      with pytest.raises(yaml.parser.ParserError):
          utils.load_launch_sweep_config("s1.yaml")
  
file_path: wandb/tests/pytest_tests/system_tests/test_sweep/test_sweep_utils.py
imports: import json
  import pytest
  import yaml
  from wandb.sdk.launch.sweeps import utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_sweep_config() without return types