Skip to content

Commit 4c17b2f

Browse files
committed
Use set literals in font_test.py
1 parent dbcd9e2 commit 4c17b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/font_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def test_font_method_should_raise_exception_after_quit(self):
876876
("set_underline", (True,)),
877877
("size", ("any Text",)),
878878
]
879-
skip_methods = set(("get_strikethrough", "set_strikethrough"))
879+
skip_methods = {"get_strikethrough", "set_strikethrough"}
880880
else:
881881
methods = [
882882
("get_height", tuple()),
@@ -972,7 +972,7 @@ def test_font_property_should_raise_exception_after_quit(self):
972972
("italic", True),
973973
("resolution", None),
974974
]
975-
skip_properties = set(("strikethrough",))
975+
skip_properties = {"strikethrough"}
976976
else:
977977
properties = [
978978
("name", None),

0 commit comments

Comments
 (0)