def test_utf8():
py.test.skip('fails on python 2.7')
def fn():
# ????
a = 1
set_trace(Config = ConfigWithHighlight)
return a
# we cannot easily use "check" because the output is full of ANSI escape
# sequences
expected, lines = run_func(fn, '# ll\n# c')
assert '????' in lines[4]
评论列表
文章目录