We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02cdcdd commit a286784Copy full SHA for a286784
test/sysfont_test.py
@@ -86,7 +86,7 @@ def test_sysfont_warnings(self):
86
with self.assertWarns(RuntimeWarning):
87
pygame.font.SysFont(("non-existent font", "non-existent font2"), 40)
88
89
- with self.assertWarns(UserWarning):
+ with self.assertWarns(RuntimeError):
90
pygame.font.SysFont(
91
(bytes("non-existent font", "utf-8"), "non-existent font2"), 40
92
)
0 commit comments