Fix deprecated directive in docstring

This commit is contained in:
Bruno Oliveira 2016-07-29 12:39:48 -03:00 committed by GitHub
parent 80508203b0
commit 76fbc6379f
1 changed files with 1 additions and 1 deletions

View File

@ -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: