Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ test_raises_doesnt
Method
test_raises_doesnt
doc/en/example/assertion/failure_demo.py:170–171 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
168
raises(TypeError, int, s)
169
170
def
test_raises_doesnt(self):
171
raises(OSError, int,
"3"
)
172
173
def
test_raise(self):
174
raise
ValueError(
"demo error"
)
Callers
nothing calls this directly
Calls
1
raises
Function · 0.90
Tested by
no test coverage detected