Merge pull request #4136 from luziferius/patch-1

docs: deprecation.rst: Add missing arguments to example code
This commit is contained in:
Bruno Oliveira 2018-10-13 16:12:49 -03:00 committed by GitHub
commit 792f365c14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ This form of test function doesn't support fixtures properly, and users should s
.. code-block:: python .. code-block:: python
@pytest.mark.parametrize("x, y", [(2, 4), (3, 9)]) @pytest.mark.parametrize("x, y", [(2, 4), (3, 9)])
def test_squared(): def test_squared(x, y):
assert x ** x == y assert x ** x == y