code: def test_config_argparse_invalid_key(tmpdir, parser):
      config = tmpdir / "a.yaml"
      with config.open("w") as f:
          yaml.safe_dump({"foo": "2", "dummy": "aaa"}, f)
  
      with pytest.raises(SystemExit):
          parser.parse_args(["--config", str(config), "--bar", "4"])
  
imports: import pytest
  import yaml
  from espnet2.utils import config_argparse
label_desc: Use image node_id 5 for calling a global function with example usage: test_config_argparse_invalid_key(tmpdir, parser) without return types