@@ -686,7 +686,8 @@ def test_point_size_method(self):
686686 self .assertRaises (TypeError , f .set_point_size , "15" )
687687
688688 @unittest .skipIf (
689- pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ), "outlines were added in SDL_TTF 2.0.12"
689+ pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ),
690+ "outlines were added in SDL_TTF 2.0.12" ,
690691 )
691692 def test_outline_property (self ):
692693 if pygame_font .__name__ == "pygame.ftfont" :
@@ -720,7 +721,8 @@ def test_incorrect_type():
720721 self .assertRaises (TypeError , test_incorrect_type )
721722
722723 @unittest .skipIf (
723- pygame .font .get_sdl_ttf_version () >= (2 , 0 , 12 ), "outlines were added in SDL_TTF 2.0.12"
724+ pygame .font .get_sdl_ttf_version () >= (2 , 0 , 12 ),
725+ "outlines were added in SDL_TTF 2.0.12" ,
724726 )
725727 def test_outline_property_stub (self ):
726728 if pygame_font .__name__ == "pygame.ftfont" :
@@ -737,9 +739,9 @@ def test_outline_property_stub(self):
737739 with self .assertRaises (pygame .error ):
738740 _ = f .outline
739741
740-
741742 @unittest .skipIf (
742- pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ), "outlines were added in SDL_TTF 2.0.12"
743+ pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ),
744+ "outlines were added in SDL_TTF 2.0.12" ,
743745 )
744746 def test_outline_method (self ):
745747 if pygame_font .__name__ == "pygame.ftfont" :
@@ -761,7 +763,8 @@ def test_outline_method(self):
761763 self .assertRaises (TypeError , f .set_outline , "2" )
762764
763765 @unittest .skipIf (
764- pygame .font .get_sdl_ttf_version () >= (2 , 0 , 12 ), "outlines were added in SDL_TTF 2.0.12"
766+ pygame .font .get_sdl_ttf_version () >= (2 , 0 , 12 ),
767+ "outlines were added in SDL_TTF 2.0.12" ,
765768 )
766769 def test_outline_method_stub (self ):
767770 if pygame_font .__name__ == "pygame.ftfont" :
@@ -1285,7 +1288,8 @@ def test_bold_strikethrough(self):
12851288 self .assertTrue (self .query (bold = True , strikethrough = True ))
12861289
12871290 @unittest .skipIf (
1288- pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ), "outlines were added in SDL_TTF 2.0.12"
1291+ pygame .font .get_sdl_ttf_version () < (2 , 0 , 12 ),
1292+ "outlines were added in SDL_TTF 2.0.12" ,
12891293 )
12901294 def test_outline (self ):
12911295 self .assertTrue (self .query (outline = 1 ))
0 commit comments