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