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

Function test_html_metadata

tests/test_display_2.py:437–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435
436
437def test_html_metadata():
438 s = "<h1>Test</h1>"
439 h = display.HTML(s, metadata={"isolated": True})
440 assert h._repr_html_() == (s, {"isolated": True})
441
442
443def test_display_id():

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…