Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ BadHTML
Class
BadHTML
tests/test_formatters.py:300–302 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
298
f = HTMLFormatter()
299
300
class
BadHTML(object):
301
def
_repr_html_(self):
302
raise
ValueError(
"Bad HTML"
)
303
304
bad = BadHTML()
305
with
capture_output()
as
captured:
Callers
1
test_error_method
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_error_method
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…