Skip to content

Commit 7749804

Browse files
committed
Update test to avoid tripping on non-text blocks.
I have no idea why this is now necessary.
1 parent fdc472b commit 7749804

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_font.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def test_3780():
206206
# print(f' {n}: {v!r}')
207207
for i, block in enumerate(d['blocks']):
208208
print(f'block {i}:')
209+
if block['type'] != 0:
210+
continue
209211
for j, line in enumerate(block['lines']):
210212
print(f' line {j}:')
211213
for k, span in enumerate(line['spans']):

0 commit comments

Comments
 (0)