  def test_parse_config_overrides(args, expected):
      assert parse_config_overrides(args) == expected
  
  
  @pytest.mark.parametrize(
      "args", [["--foo"], ["--x.foo", "bar", "--baz"]],
  )
  def test_parse_config_overrides_invalid(args):
      with pytest.raises(NoSuchOption):
          parse_config_overrides(args)
  
  
 
</s> remove from ._util import Arg, Opt, debug_cli, show_validation_error, parse_config_overrides
 </s> add from ._util import Arg, Opt, debug_cli, show_validation_error, parse_config_overrides, string_to_list </s> remove     if pipeline.startswith("[") and pipeline.endswith("]"):
        pipeline = pipeline[1:-1]
    pipeline = [p.strip() for p in pipeline.split(",")]
 </s> add     pipeline = string_to_list(pipeline) </s> remove            err = f"Could not find any relevant files for '{subpath}'. " \
                 f"Did you specify a correct and complete path within repo '{repo}' " \
                 f"and branch {branch}?"
           msg.fail(err, exits=1)
 </s> add             err = (
                f"Could not find any relevant files for '{subpath}'. "
                f"Did you specify a correct and complete path within repo '{repo}' "
                f"and branch {branch}?"
            )
            msg.fail(err, exits=1) </s> remove from ._util import init_cli, Arg, Opt, show_validation_error, COMMAND
 </s> add from ._util import init_cli, Arg, Opt, show_validation_error, COMMAND, string_to_list
@pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]])
  def test_parse_config_overrides(args, expected):
      assert parse_config_overrides(args) == expected
  
  
@pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]])
@pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]])
@pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]])
  def test_parse_config_overrides_invalid(args):
      with pytest.raises(NoSuchOption):
          parse_config_overrides(args)
  
  
keep keep keep keep replace replace replace keep keep keep keep keep
 string_to_list to parse comma-separated string into a list 
spacy/tests/test_cli.py