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

Function test_fillfuncargs_is_deprecated

testing/deprecated_test.py:31–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def test_fillfuncargs_is_deprecated() -> None:
32 with pytest.warns(
33 pytest.PytestDeprecationWarning,
34 match=re.escape(
35 "pytest._fillfuncargs() is deprecated, use "
36 "function._request._fillfixtures() instead if you cannot avoid reaching into internals."
37 ),
38 ):
39 pytest._fillfuncargs(mock.Mock())
40
41
42def test_fillfixtures_is_deprecated() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected