From 76fbc6379f42c1a10736135106b48aca54766dde Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 29 Jul 2016 12:39:48 -0300 Subject: [PATCH] Fix deprecated directive in docstring --- _pytest/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/fixtures.py b/_pytest/fixtures.py index 88bcfaa03..080d82b57 100644 --- a/_pytest/fixtures.py +++ b/_pytest/fixtures.py @@ -874,7 +874,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None): def yield_fixture(scope="function", params=None, autouse=False, ids=None, name=None): """ (return a) decorator to mark a yield-fixture factory function. - .. deprecated:: 1.10 + .. deprecated:: 3.0 Use :py:func:`pytest.fixture` directly instead. """ if callable(scope) and params is None and not autouse: