Skip to content

Commit

Permalink
tests: fix the test to check the functions on linux
Browse files Browse the repository at this point in the history
they changed now
  • Loading branch information
naveen521kk committed Sep 11, 2024
1 parent 4326089 commit a63d7cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,14 @@ def test_simple_fonts_render(tmpdir):
not sys.platform.startswith("linux"), reason="unsupported api other than linux"
)
def test_both_fc_and_register_font_are_same():
assert manimpango.fc_register_font == manimpango.register_font
assert manimpango.fc_unregister_font == manimpango.unregister_font
assert (
manimpango._register_font._fc_register_font
== manimpango._register_font._register_font
)
assert (
manimpango._register_font._fc_unregister_font
== manimpango._register_font._unregister_font
)


@pytest.mark.parametrize("font_file", font_lists_dict)
Expand Down

0 comments on commit a63d7cf

Please sign in to comment.