Merge pull request #4136 from luziferius/patch-1
docs: deprecation.rst: Add missing arguments to example code
This commit is contained in:
commit
792f365c14
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue