#NEWLINE# def _test_array( self , compress , decompress ) : #NEWLINE# #INDENT# self . assertEqual ( compress ( array ( 'c' , 'jython' ) ) , compress ( 'jython' ) ) #NEWLINE# intarray = array ( 'i' , range ( 5 ) ) #NEWLINE# self . assertEqual ( compress ( intarray ) , compress ( intarray . tostring ( ) ) ) #NEWLINE# compressed = array ( 'c' , compress ( 'jython' ) ) #NEWLINE# self . assertEqual ( 'jython' , decompress ( compressed ) )