Skip to content

Commit 76fbc63

Browse files
authored
Fix deprecated directive in docstring
1 parent 8050820 commit 76fbc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pytest/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
874874
def yield_fixture(scope="function", params=None, autouse=False, ids=None, name=None):
875875
""" (return a) decorator to mark a yield-fixture factory function.
876876
877-
.. deprecated:: 1.10
877+
.. deprecated:: 3.0
878878
Use :py:func:`pytest.fixture` directly instead.
879879
"""
880880
if callable(scope) and params is None and not autouse:

0 commit comments

Comments
 (0)