code: def test_parse_yaml_duplicate_key_error():
      text = """\
      mykey:
      - foo
      mykey:
      - bar
      """
      with pytest.raises(YAMLFileCorruptedError):
          parse_yaml(text, "mypath")
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_parse_yaml_duplicate_key_error() without return types