def METHOD_NAME(repo_git, locale_a):
    """If the repo isn't multi-locale, throw a ValueError."""
    assert repo_git.multi_locale is False
    with pytest.raises(ValueError):
        repo_git.locale_checkout_path(locale_a)