Skip to content

Commit

Permalink
Adjust test for new additional argument to skia.Typeface.MakeDeserial…
Browse files Browse the repository at this point in the history
…ize()
  • Loading branch information
HinTak committed Feb 1, 2024
1 parent 46c6dfd commit fa991c1
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 @@ -219,9 +219,9 @@ def test_Typeface_MakeFromData(typeface, args):
skia.Typeface.MakeFromData(*args), (skia.Typeface, type(None)))


def test_Typeface_MakeDeserialize(typeface):
def test_Typeface_MakeDeserialize(typeface, fontmgr):
assert isinstance(
skia.Typeface.MakeDeserialize(typeface.serialize()), skia.Typeface)
skia.Typeface.MakeDeserialize(typeface.serialize(), fontmgr), skia.Typeface)


@pytest.fixture
Expand Down

0 comments on commit fa991c1

Please sign in to comment.