diff --git a/test/font_test.py b/test/font_test.py index 9689066674..219e0a7ba2 100644 --- a/test/font_test.py +++ b/test/font_test.py @@ -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()), @@ -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),