Skip to content

Commit 18b7147

Browse files
Revert a tiny change
1 parent d5bf27c commit 18b7147

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/_pytest/python.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ def setmulti(
11581158
arg2scope = dict(self._arg2scope)
11591159
for arg, val, param_index in zip(argnames, valset, param_indices):
11601160
if arg in params:
1161-
raise ValueError(f"duplicate {arg!r}")
1161+
raise ValueError(f"duplicate parametrization of {arg!r}")
11621162
params[arg] = val
11631163
indices[arg] = param_index
11641164
arg2scope[arg] = scope
@@ -1396,8 +1396,8 @@ def parametrize(
13961396
object.__setattr__(_param_mark._param_ids_from, "_param_ids_generated", ids)
13971397

13981398
# Add funcargs as fixturedefs to fixtureinfo.arg2fixturedefs by registering
1399-
# artificial FixtureDef's so that later at test execution time we can rely
1400-
# on a proper FixtureDef to exist for fixture setup.
1399+
# artificial FixtureDef's so that later at test execution time we can
1400+
# rely on a proper FixtureDef to exist for fixture setup.
14011401
arg2fixturedefs = self._arg2fixturedefs
14021402
node = None
14031403
# If we have a scope that is higher than function, we need

0 commit comments

Comments
 (0)