Skip to content

Commit

Permalink
Revert correct non American spelling 1
Browse files Browse the repository at this point in the history
  • Loading branch information
damusss authored Apr 26, 2024
1 parent 91cdb69 commit 70ae2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mask_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3034,7 +3034,7 @@ def test_to_surface__kwargs_invalid_types(self):
def test_to_surface__kwargs_invalid_name(self):
"""Ensures to_surface detects invalid kwarg names."""
mask = pygame.mask.Mask((3, 2))
kwargs = {"setcolor": pygame.Color("red")}
kwargs = {"setcolour": pygame.Color("red")}

with self.assertRaises(TypeError):
mask.to_surface(**kwargs)
Expand Down

0 comments on commit 70ae2c6

Please sign in to comment.