Skip to content

Commit b0984a8

Browse files
Updates to fix drawing mod
1 parent cef43b3 commit b0984a8

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

python/tests/test_drawing.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ def fail(self, *args, **kwargs):
250250
"""
251251
Required for xmlunittest.XmlTestMixin to work with pytest not unittest
252252
"""
253-
# DDD
254253
pytest.fail(*args, **kwargs) # noqa: PT016
255254

256255

@@ -1453,7 +1452,17 @@ def test_max_time(self):
14531452
t = ts.first()
14541453
self.verify_text_rendering(t.draw_text(max_time="ts"), tree)
14551454

1456-
tree = " 9 \n ┏━┻━┓ \n ┃ 5 \n ┃ ┏┻┓\n 4 ┃ ┃\n┏┻┓ ┃ ┃\n0 1 2 3\n"
1455+
# fmt: off
1456+
tree = (
1457+
" 9 \n"
1458+
" ┏━┻━┓ \n"
1459+
" ┃ 5 \n"
1460+
" ┃ ┏┻┓\n"
1461+
" 4 ┃ ┃\n"
1462+
"┏┻┓ ┃ ┃\n"
1463+
"0 1 2 3\n"
1464+
)
1465+
# fmt: on
14571466
t = ts.first()
14581467
self.verify_text_rendering(t.draw_text(max_time="tree"), tree)
14591468
for bad_max_time in [1, "sdfr", ""]:

0 commit comments

Comments
 (0)