Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83c95c1

Browse files
committed
Fix test
1 parent c5b85ad commit 83c95c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/freetypy/tests/test_layout.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def test_layout():
4747

4848
assert tuple(layout.layout_bbox)[:3] == (0.0, -6.0, 555.984375)
4949

50-
assert layout.glyph_indices.to_list() == [
50+
glyph_indices = [x[1] for x in layout.layout]
51+
52+
assert glyph_indices == [
5153
55, 75, 72, 3, 84, 88, 76, 70, 78, 3, 69, 85, 82, 90, 81, 3,
5254
73, 82, 91, 3, 77, 88, 80, 83, 72, 71, 3, 82, 89, 72, 85, 3,
5355
87, 75, 72, 3, 79, 68, 93, 92, 3, 71, 82, 74]

0 commit comments

Comments
 (0)