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

Method test_raises_doesnt

doc/en/example/assertion/failure_demo.py:168–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 raises(TypeError, int, s)
167
168 def test_raises_doesnt(self):
169 raises(OSError, int, "3")
170
171 def test_raise(self):
172 raise ValueError("demo error")

Callers

nothing calls this directly

Calls 1

raisesFunction · 0.90

Tested by

no test coverage detected