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

Method f

testing/test_recwarn.py:191–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 """
190
191 def f():
192 pass
193
194 msg = "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