def METHOD_NAME(alias: str) -> None:
    with pytest.raises(
        CliAliasInvalidError, match=(f"Invalid alias in `\\[cli\\]\\.alias` option: {alias!r}\\.")
    ):
        CliAlias.from_dict({alias: ""})