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

Class HTMLNotImplemented

IPython/core/tests/test_formatters.py:256–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254def test_nowarn_notimplemented():
255 f = HTMLFormatter()
256 class HTMLNotImplemented(object):
257 def _repr_html_(self):
258 raise NotImplementedError
259 h = HTMLNotImplemented()
260 with capture_output() as captured:
261 result = f(h)

Callers 1

Calls

no outgoing calls

Tested by 1