Skip to content

Commit

Permalink
svg.docList contains list of tuples, not lists now
Browse files Browse the repository at this point in the history
why was this test not failing before? I guess because we don't keep dependencies pinned for our testing and something happened upstream since the last time we run our tests..
  • Loading branch information
anthrotype committed Aug 16, 2022
1 parent 843692c commit b73209b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nanoemoji_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def test_glyph_with_zero_advance_width(color_format, tmp_path):
svg = font["SVG "]
assert len(svg.docList) == 1
gid = font.getGlyphID(gname)
assert svg.docList[0][1:] == [gid, gid] # [start, end]
assert svg.docList[0][1:] == (gid, gid) # (start, end)
if "CBDT" in font:
cbdt = font["CBDT"]
assert len(cbdt.strikeData) == 1
Expand Down

0 comments on commit b73209b

Please sign in to comment.