test_ok2/changelog/7988.deprecation.rst

4 lines
213 B
ReStructuredText

The ``@pytest.yield_fixture`` decorator/function is now deprecated. Use :func:`pytest.fixture` instead.
``yield_fixture`` has been an alias for ``fixture`` for a very long time, so can be search/replaced safely.