File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1148,7 +1148,7 @@ def setmulti(
1148
1148
arg2scope = self ._arg2scope .copy ()
1149
1149
for arg , val in zip (argnames , valset ):
1150
1150
if arg in params or arg in funcargs :
1151
- raise ValueError (f"duplicate { arg !r} " )
1151
+ raise ValueError (f"duplicate parametrization of { arg !r} " )
1152
1152
valtype_for_arg = valtypes [arg ]
1153
1153
if valtype_for_arg == "params" :
1154
1154
params [arg ] = val
@@ -1239,8 +1239,9 @@ def parametrize(
1239
1239
during the collection phase. If you need to setup expensive resources
1240
1240
see about setting indirect to do it rather than at test setup time.
1241
1241
1242
- Can be called multiple times, in which case each call parametrizes all
1243
- previous parametrizations, e.g.
1242
+ Can be called multiple times per test function (but only on different
1243
+ argument names), in which case each call parametrizes all previous
1244
+ parametrizations, e.g.
1244
1245
1245
1246
::
1246
1247
You can’t perform that action at this time.
0 commit comments