Skip to content

Commit

Permalink
Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
gresm committed Jun 20, 2024
1 parent 02cdcdd commit a286784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sysfont_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_sysfont_warnings(self):
with self.assertWarns(RuntimeWarning):
pygame.font.SysFont(("non-existent font", "non-existent font2"), 40)

with self.assertWarns(UserWarning):
with self.assertWarns(RuntimeError):
pygame.font.SysFont(
(bytes("non-existent font", "utf-8"), "non-existent font2"), 40
)
Expand Down

0 comments on commit a286784

Please sign in to comment.