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

Function test_string_in_formatter

IPython/core/tests/test_formatters.py:196–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 nt.assert_in(type_str, f)
195
196def test_string_in_formatter():
197 f = PlainTextFormatter()
198 type_str = '%s.%s' % (C.__module__, 'C')
199 f.for_type(type_str, foo_printer)
200 nt.assert_in(type_str, f)
201 nt.assert_in(C, f)
202
203def test_pop():
204 f = PlainTextFormatter()

Callers

nothing calls this directly

Calls 2

PlainTextFormatterClass · 0.90
for_typeMethod · 0.80

Tested by

no test coverage detected