Placate flake8
This commit is contained in:
parent
0cf532633f
commit
edf0af7ecd
@ -49,6 +49,7 @@ def test_byte_boundary():
|
||||
)
|
||||
assert list(canvas.content()) == [[('var value', None, b'aaaaaa\xc3\xa9')]]
|
||||
|
||||
|
||||
def test_wide_chars():
|
||||
text = u"data: '中文'"
|
||||
canvas = make_canvas(
|
||||
@ -59,7 +60,7 @@ def test_wide_chars():
|
||||
assert list(canvas.content()) == [[
|
||||
('var label', None, b'data: '),
|
||||
('var value', None, u"'中文'".encode('utf-8')),
|
||||
(None, None, b' '*(47 - 12)), # 10 chars, 2 of which are double width
|
||||
(None, None, b' '*(47 - 12)), # 10 chars, 2 of which are double width
|
||||
]]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user