doc: fix desc for `parametrize`

- the parameter is called `expected`, not `output`
 - s/that that/that/
This commit is contained in:
Daniel Hahler 2014-01-09 22:27:23 +01:00
parent d51e27a5cb
commit 903fd144ff
1 changed files with 2 additions and 2 deletions

View File

@ -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