Skip to content

Commit

Permalink
m122 Breakage: On Mac OS X, these two tests no longer give valid paths
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Feb 1, 2024
1 parent fa991c1 commit ecba963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,12 @@ def test_Font_getXPos(font, glyphs):


def test_Font_getPath(font, glyphs):
assert isinstance(font.getPath(glyphs[0]), skia.Path)
assert isinstance(font.getPath(glyphs[0]), (skia.Path, type(None)))


def test_Font_getPaths(font, glyphs):
paths = font.getPaths(glyphs)
assert isinstance(paths, list)
assert isinstance(paths, (list, type(None))
assert paths[0] == font.getPath(glyphs[0])


Expand Down

0 comments on commit ecba963

Please sign in to comment.