From 91b279749835a0dd2130cb2e6c54e4ab3b4d8848 Mon Sep 17 00:00:00 2001 From: Thomas Hess Date: Sat, 13 Oct 2018 20:33:31 +0200 Subject: [PATCH] docs: deprecation.rst: Add missing arguments to code example In the proposed new style using `@pytest.mark.parametrize`, the example function signature missed the actual arguments. Add the missing arguments --- doc/en/deprecations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index a9d153206..14eeeb08f 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -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