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

Function test_code_from_file

IPython/lib/tests/test_display.py:264–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 return struct.unpack('<%sh' % num_samples, wave_data)
263
264def test_code_from_file():
265 c = display.Code(filename=__file__)
266 assert c._repr_html_().startswith('<style>')

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.95

Tested by

no test coverage detected