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

Function test_unicode_colorize

IPython/utils/tests/test_pycolorize.py:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 for style in ('Linux', 'NoColor','LightBG', 'Neutral'):
53
54 def test_unicode_colorize():
55 p = Parser(style=style)
56 f1 = p.format('1/0', 'str')
57 f2 = p.format(u'1/0', 'str')
58 nt.assert_equal(f1, f2)
59
60 def test_parse_sample():
61 """and test writing to a buffer"""

Callers

nothing calls this directly

Calls 2

formatMethod · 0.95
ParserClass · 0.90

Tested by

no test coverage detected