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

Function test_rich_output_no_metadata

IPython/utils/tests/test_capture.py:87–92  ·  view source on GitHub ↗

test RichOutput with no metadata

()

Source from the content-addressed store, hash-verified

85 yield nt.assert_equal, rich._repr_svg_(), None
86
87def test_rich_output_no_metadata():
88 """test RichOutput with no metadata"""
89 data = full_data
90 rich = capture.RichOutput(data=data)
91 for method, mime in _mime_map.items():
92 yield nt.assert_equal, getattr(rich, method)(), data[mime]
93
94def test_rich_output_metadata():
95 """test RichOutput with metadata"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected