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): 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