File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1148,7 +1148,7 @@ def setmulti(
11481148 arg2scope = self ._arg2scope .copy ()
11491149 for arg , val in zip (argnames , valset ):
11501150 if arg in params or arg in funcargs :
1151- raise ValueError (f"duplicate { arg !r} " )
1151+ raise ValueError (f"duplicate parametrization of { arg !r} " )
11521152 valtype_for_arg = valtypes [arg ]
11531153 if valtype_for_arg == "params" :
11541154 params [arg ] = val
@@ -1239,8 +1239,9 @@ def parametrize(
12391239 during the collection phase. If you need to setup expensive resources
12401240 see about setting indirect to do it rather than at test setup time.
12411241
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.
12441245
12451246 ::
12461247
You can’t perform that action at this time.
0 commit comments