Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ BadReprArgs
Class
BadReprArgs
IPython/core/tests/test_formatters.py:353–355 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
351
nt.assert_equal(result, None)
352
353
class
BadReprArgs(object):
354
def
_repr_html_(self, extra, args):
355
return
"html"
356
357
bad = BadReprArgs()
358
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