Skip to content

Commit

Permalink
Skip on ftfont.
Browse files Browse the repository at this point in the history
  • Loading branch information
itzpr3d4t0r committed Jan 28, 2025
1 parent d746f3a commit 47527c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/font_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ def test_get_linesize(self):
"supported in SDL_ttf 2.24.0 onwards",
)
def test_set_linesize(self):
if pygame_font.__name__ == "pygame.ftfont":
return # not a pygame.ftfont thing

f = pygame_font.Font(None, 20)
linesize = f.get_linesize()

Expand Down

0 comments on commit 47527c8

Please sign in to comment.