Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __repr__
Method
__repr__
IPython/lib/tests/test_pretty.py:172–173 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
170
raise
ValueError(
"I am horrible"
)
171
172
def
__repr__(self):
173
raise
BadException()
174
175
def
test_really_bad_repr():
176
with
nt.assert_raises(BadException):
Callers
nothing calls this directly
Calls
1
BadException
Class · 0.85
Tested by
no test coverage detected