We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223f035 commit ae9e063Copy full SHA for ae9e063
test/color_test.py
@@ -857,7 +857,7 @@ def test_from_hex(self):
857
858
self.assertRaises(ValueError, lambda: pygame.Color.from_hex("not-a-color"))
859
self.assertRaises(
860
- ValueError, lambda: pygame.Color.from_hex("not-a-color", "lel")
+ TypeError, lambda: pygame.Color.from_hex("not-a-color", "lel")
861
)
862
863
def test_normalize(self):
0 commit comments