Update src/_pytest/python.py

This commit is contained in:
Ran Benita 2023-08-09 19:53:42 +03:00 committed by GitHub
parent 2853331cb4
commit c7f4f9148a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ class CallSpec2:
arg2scope = self._arg2scope.copy()
for arg, val in zip(argnames, valset):
if arg in params:
raise ValueError(f"duplicate {arg!r}")
raise ValueError(f"duplicate parametrization of {arg!r}")
params[arg] = val
indices[arg] = param_index
arg2scope[arg] = scope