#NEWLINE# def test_array_with_size( self ) : #NEWLINE# #INDENT# tokens = get_tokens ( 'Foo[42]' ) #NEWLINE# result = self . converter . to_type ( list ( tokens ) ) #NEWLINE# self . assertEqual ( 1 , len ( tokens ) ) #NEWLINE# self . assertEqual ( Type ( 'Foo' , array = True ) , result [ 0 ] )