improve docstring for metafunc.parametrize()
This commit is contained in:
parent
03445913e0
commit
b97de57ebe
|
@ -5,6 +5,8 @@ Changes between 2.3.4 and 2.3.5dev
|
||||||
|
|
||||||
- move long description of distribution into README.rst
|
- move long description of distribution into README.rst
|
||||||
|
|
||||||
|
- improve docstring for metafunc.parametrize()
|
||||||
|
|
||||||
Changes between 2.3.3 and 2.3.4
|
Changes between 2.3.3 and 2.3.4
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|
|
@ -643,8 +643,11 @@ class Metafunc(FuncargnamesCompatAttr):
|
||||||
|
|
||||||
:arg argnames: an argument name or a list of argument names
|
:arg argnames: an argument name or a list of argument names
|
||||||
|
|
||||||
:arg argvalues: a list of values for the argname or a list of tuples of
|
:arg argvalues: The list of argvalues determines how often a test is invoked
|
||||||
values for the list of argument names.
|
with different argument values. If only one argname was specified argvalues
|
||||||
|
is a list of simple values. If N argnames were specified, argvalues must
|
||||||
|
be a list of N-tuples, where each tuple-element specifies a value for its
|
||||||
|
respective argname.
|
||||||
|
|
||||||
:arg indirect: if True each argvalue corresponding to an argname will
|
:arg indirect: if True each argvalue corresponding to an argname will
|
||||||
be passed as request.param to its respective argname fixture
|
be passed as request.param to its respective argname fixture
|
||||||
|
|
Loading…
Reference in New Issue