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

Function test_warning_on_non_existent_path_FileLinks

tests/test_display.py:91–94  ·  view source on GitHub ↗

FileLinks: Calling _repr_html_ on non-existent files returns a warning

()

Source from the content-addressed store, hash-verified

89
90
91def test_warning_on_non_existent_path_FileLinks():
92 """FileLinks: Calling _repr_html_ on non-existent files returns a warning"""
93 fls = display.FileLinks("example")
94 assert fls._repr_html_().startswith("Path (<tt>example</tt>)")
95
96
97def test_existing_path_FileLinks():

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…