Skip to content

Commit

Permalink
Fix test so it actually compares different glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Jul 24, 2024
1 parent d80b6c9 commit 841297a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,6 @@ async def test_round_trip_locationBase(mutatorTestFont, tmpdir):
async with contextlib.aclosing(reopenedFont):
for glyphName in ["A", "B"]:
sourceGlyph = await mutatorTestFont.getGlyph(glyphName)
destGlyph = await mutatorTestFont.getGlyph(glyphName)
destGlyph = await reopenedFont.getGlyph(glyphName)
assert sourceGlyph == destGlyph
assert all(source.locationBase for source in sourceGlyph.sources)

0 comments on commit 841297a

Please sign in to comment.