MCPcopy
hub / github.com/pytest-dev/pytest / f

Method f

testing/test_recwarn.py:191–192  ·  testing/test_recwarn.py::TestDeprecatedCall.f
()

Source from the content-addressed store, hash-verified

189 class="st">"""
190
191 def f():
192 pass
193
194 msg = class="st">"No warnings of type (.*DeprecationWarning.*, .*PendingDeprecationWarning.*)"
195 with pytest.raises(pytest.fail.Exception, match=msg):

Callers

nothing calls this directly

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected