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

Function fake_formatter

IPython/lib/tests/test_display.py:122–123  ·  view source on GitHub ↗
(dirname,fnames,included_suffixes)

Source from the content-addressed store, hash-verified

120 tf1 = NamedTemporaryFile(dir=td)
121 tf2 = NamedTemporaryFile(dir=td)
122 def fake_formatter(dirname,fnames,included_suffixes):
123 return ["hello","world"]
124 fl = display.FileLinks(td,notebook_display_formatter=fake_formatter)
125 actual = fl._repr_html_()
126 actual = actual.split('\n')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected