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):
|
||||
assert eval(input) == expected
|
||||
|
||||
Here, the ``@parametrize`` decorator defines three different ``(input,output)``
|
||||
tuples so that that the ``test_eval`` function will run three times using
|
||||
Here, the ``@parametrize`` decorator defines three different ``(input,expected)``
|
||||
tuples so that the ``test_eval`` function will run three times using
|
||||
them in turn::
|
||||
|
||||
$ py.test
|
||||
|
|
Loading…
Reference in New Issue