Skip to content

Commit a286784

Browse files
committed
Oops.
1 parent 02cdcdd commit a286784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sysfont_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_sysfont_warnings(self):
8686
with self.assertWarns(RuntimeWarning):
8787
pygame.font.SysFont(("non-existent font", "non-existent font2"), 40)
8888

89-
with self.assertWarns(UserWarning):
89+
with self.assertWarns(RuntimeError):
9090
pygame.font.SysFont(
9191
(bytes("non-existent font", "utf-8"), "non-existent font2"), 40
9292
)

0 commit comments

Comments
 (0)