MCPcopy Index your code
hub / github.com/ipython/ipython / BadReprMime

Class BadReprMime

tests/test_formatters.py:587–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585
586def test_repr_mime_failure():
587 class BadReprMime(object):
588 def _repr_mimebundle_(self, include=None, exclude=None):
589 raise RuntimeError
590
591 f = get_ipython().display_formatter
592 obj = BadReprMime()

Callers 1

test_repr_mime_failureFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_repr_mime_failureFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…