#NEWLINE# def test_months( self ) : #NEWLINE# #INDENT# for attr in ( 'month_name' , 'month_abbr' ) : #NEWLINE# #INDENT# value = getattr ( calendar , self ) #NEWLINE# self . assertEqual ( len ( value ) , 13 ) #NEWLINE# self . assertEqual ( len ( value [ : ] ) , 13 ) #NEWLINE# self . assertEqual ( value [ 0 ] , '' ) #NEWLINE# self . assertEqual ( len ( set ( value ) ) , 13 ) #NEWLINE# self . assertEqual ( value [ : : ( - 1 ) ] , list ( reversed ( value ) ) )