#NEWLINE# def testGetTrailingCommaArray( self ) : #NEWLINE# #INDENT# ' warning for trailing commas before closing array\n    ' #NEWLINE# original = [ 'q = [1,]' ] #NEWLINE# expected = errors . COMMA_AT_END_OF_LITERAL #NEWLINE# self . _AssertInError ( original , expected )