#NEWLINE# def test_fonts( ) : #NEWLINE# #INDENT# font_list = fonts ( ) #NEWLINE# mark . skipif ( ( not font_list ) , reason = 'Fonts not configured on system' ) #NEWLINE# first_font = font_list [ 0 ] #NEWLINE# first_font_part = first_font [ 1 : ( - 1 ) ] #NEWLINE# assert ( first_font in fonts ( '*{0}*' . format ( first_font_part ) ) )