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

View File

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