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

Method test_deprecated_call_ret

testing/test_recwarn.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 pytest.deprecated_call(self.dep, 0, 5)
108
109 def test_deprecated_call_ret(self) -> None:
110 ret = pytest.deprecated_call(self.dep, 0)
111 assert ret == 42
112
113 def test_deprecated_call_preserves(self) -> None:
114 # Type ignored because `onceregistry` and `filters` are not

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected