[Pytest-commit] commit/pytest: Daniel Hahler: doc: fix desc for `parametrize`
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Jan 10 10:43:40 CET 2014
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/d76058834af2/
Changeset: d76058834af2
User: Daniel Hahler
Date: 2014-01-09 22:27:23
Summary: doc: fix desc for `parametrize`
- the parameter is called `expected`, not `output`
- s/that that/that/
Affected #: 1 file
diff -r e2d2870e7437c8828e8779b63a9b499bc937b1fc -r d76058834af217b7d319bac2549d6f8841564ef9 doc/en/parametrize.txt
--- a/doc/en/parametrize.txt
+++ b/doc/en/parametrize.txt
@@ -47,8 +47,8 @@
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
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list