#NEWLINE# def check_array_const( self , pyfunc ) : #NEWLINE# #INDENT# cres = compile_isolated ( pyfunc , ( types . int32 , ) ) #NEWLINE# cfunc = cres . entry_point #NEWLINE# for i in [ 0 , 1 , 2 ] : #NEWLINE# #INDENT# np . testing . assert_array_equal ( pyfunc ( i ) , cfunc ( self ) )