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

Function test_in_formatter

tests/test_formatters.py:242–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241
242def test_in_formatter():
243 f = PlainTextFormatter()
244 f.for_type(C, foo_printer)
245 type_str = "%s.%s" % (C.__module__, "C")
246 assert C in f
247 assert type_str in f
248
249
250def test_string_in_formatter():

Callers

nothing calls this directly

Calls 2

PlainTextFormatterClass · 0.90
for_typeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…