Fix typo and grammatical mistake in error message (#7134)

This commit is contained in:
graue70 2021-07-28 11:17:05 +02:00 committed by GitHub
parent 92ae3abc97
commit dfdf0b08fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,7 +295,7 @@ def _wrap_evaluation_matrices(
return [None] * n_validation return [None] * n_validation
if len(meta) != n_validation: if len(meta) != n_validation:
raise ValueError( raise ValueError(
f"{name}'s length does not eqaul to `eval_set`, " + f"{name}'s length does not equal `eval_set`'s length, " +
f"expecting {n_validation}, got {len(meta)}" f"expecting {n_validation}, got {len(meta)}"
) )
return meta return meta