Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ BadReprArgs
Class
BadReprArgs
tests/test_formatters.py:422–424 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
assert result is None
421
422
class
BadReprArgs(object):
423
def
_repr_html_(self, extra, args):
424
return
"html"
425
426
bad = BadReprArgs()
427
with
capture_output()
as
captured:
Callers
1
test_print_method_weird
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_print_method_weird
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…