#NEWLINE# def check_np_flat( self , pyfunc , flags = no_pyobj_flags ) : #NEWLINE# #INDENT# cr = compile_isolated ( pyfunc , ( types . Array ( types . int32 , 2 , 'C' ) , ) , flags = flags ) #NEWLINE# arr = np . arange ( 6 , dtype = np . int32 ) . reshape ( ( 2 , 3 ) ) #NEWLINE# self . check_generator ( pyfunc ( arr ) , cr . entry_point ( arr ) ) #NEWLINE# cr = compile_isolated ( pyfunc , ( types . Array ( types . int32 , 2 , 'A' ) , ) , flags = flags ) #NEWLINE# arr = arr . T #NEWLINE# self . check_generator ( pyfunc ( arr ) , cr . entry_point ( arr ) )