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

Method f

testing/test_recwarn.py:141–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 """
140
141 def f():
142 pass
143
144 msg = "No warnings of type (.*DeprecationWarning.*, .*PendingDeprecationWarning.*)"
145 with pytest.raises(pytest.fail.Exception, match=msg):

Callers

nothing calls this directly

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected