doc: fix desc for `parametrize`
- the parameter is called `expected`, not `output` - s/that that/that/
This commit is contained in:
parent
d51e27a5cb
commit
903fd144ff
|
@ -47,8 +47,8 @@ to an expected output::
|
||||||
def test_eval(input, expected):
|
def test_eval(input, expected):
|
||||||
assert eval(input) == expected
|
assert eval(input) == expected
|
||||||
|
|
||||||
Here, the ``@parametrize`` decorator defines three different ``(input,output)``
|
Here, the ``@parametrize`` decorator defines three different ``(input,expected)``
|
||||||
tuples so that that the ``test_eval`` function will run three times using
|
tuples so that the ``test_eval`` function will run three times using
|
||||||
them in turn::
|
them in turn::
|
||||||
|
|
||||||
$ py.test
|
$ py.test
|
||||||
|
|
Loading…
Reference in New Issue