Skip to content

Commit

Permalink
Use set literals in font_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Starbuck5 committed Mar 27, 2024
1 parent dbcd9e2 commit 4c17b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/font_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ def test_font_method_should_raise_exception_after_quit(self):
("set_underline", (True,)),
("size", ("any Text",)),
]
skip_methods = set(("get_strikethrough", "set_strikethrough"))
skip_methods = {"get_strikethrough", "set_strikethrough"}
else:
methods = [
("get_height", tuple()),
Expand Down Expand Up @@ -972,7 +972,7 @@ def test_font_property_should_raise_exception_after_quit(self):
("italic", True),
("resolution", None),
]
skip_properties = set(("strikethrough",))
skip_properties = {"strikethrough"}
else:
properties = [
("name", None),
Expand Down

0 comments on commit 4c17b2f

Please sign in to comment.