MCPcopy Create free account
hub / github.com/ipython/ipython / MyHTML

Class MyHTML

IPython/core/tests/test_formatters.py:314–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312def test_print_method_bound():
313 f = HTMLFormatter()
314 class MyHTML(object):
315 def _repr_html_(self):
316 return "hello"
317 with capture_output() as captured:
318 result = f(MyHTML)
319 nt.assert_is(result, None)

Callers 1

test_print_method_boundFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_print_method_boundFunction · 0.68