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

Method __init__

IPython/core/tests/test_display.py:88–90  ·  view source on GitHub ↗
(self, svg)

Source from the content-addressed store, hash-verified

86 def mocked_urlopen(*args, **kwargs):
87 class MockResponse:
88 def __init__(self, svg):
89 self._svg_data = svg
90 self.headers = {'content-type': 'image/svg+xml'}
91
92 def read(self):
93 return self._svg_data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected