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

Function test_fillfixtures_is_deprecated

testing/deprecated_test.py:42–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41
42def test_fillfixtures_is_deprecated() -> None:
43 import _pytest.fixtures
44
45 with pytest.warns(
46 pytest.PytestDeprecationWarning,
47 match=re.escape(
48 "_pytest.fixtures.fillfixtures() is deprecated, use "
49 "function._request._fillfixtures() instead if you cannot avoid reaching into internals."
50 ),
51 ):
52 _pytest.fixtures.fillfixtures(mock.Mock())
53
54
55def test_minus_k_dash_is_deprecated(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected