#NEWLINE# def test_incref_after_cast( self ) : #NEWLINE# #INDENT# def f( ) : #NEWLINE# #INDENT# return ( 0.0 , np . zeros ( 1 , dtype = np . int32 ) ) #NEWLINE# #UNINDENT# cres = compile_isolated ( cres , ( ) , types . Tuple ( ( types . complex128 , types . Array ( types . int32 , 1 , 'C' ) ) ) ) #NEWLINE# ( z , arr ) = cres . entry_point ( ) #NEWLINE# self . assertPreciseEqual ( z , 0j ) #NEWLINE# self . assertPreciseEqual ( arr , np . zeros ( 1 , dtype = np . int32 ) )