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

Method _repr_html_

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

Source from the content-addressed store, hash-verified

242 f = HTMLFormatter()
243 class BadHTML(object):
244 def _repr_html_(self):
245 raise ValueError("Bad HTML")
246 bad = BadHTML()
247 with capture_output() as captured:
248 result = f(bad)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected