MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_yield_fixture_is_deprecated

Function test_yield_fixture_is_deprecated

testing/deprecated_test.py:123–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_yield_fixture_is_deprecated() -> None:
124 with pytest.warns(DeprecationWarning, match=r"yield_fixture is deprecated"):
125
126 @pytest.yield_fixture
127 def fix():
128 assert False
129
130
131def test_private_is_deprecated() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected