Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ test_parse_error
Function
test_parse_error
IPython/utils/tests/test_pycolorize.py:70–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
nt.assert_not_in(
'ERROR'
, f1)
69
70
def
test_parse_error():
71
p = Parser(style=style)
72
f1 = p.format(
')'
,
'str'
)
73
if
style !=
'NoColor'
:
74
nt.assert_in(
'ERROR'
, f1)
75
76
yield
test_unicode_colorize
77
yield
test_parse_sample
Callers
nothing calls this directly
Calls
2
format
Method · 0.95
Parser
Class · 0.90
Tested by
no test coverage detected