def yield_fixture(scope="<STR_LIT>", params=None, autouse=False, ids=None, name=None):
return fixture(scope=scope, params=params, autouse=autouse, ids=ids, name=name)<EOL>
(return a) decorator to mark a yield-fixture factory function.

    .. deprecated:: 3.0
        Use :py:func:`pytest.fixture` directly instead.