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

Method _repr_html_

IPython/core/tests/test_formatters.py:315–316  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected