#NEWLINE# @ dec . knownfailureif ( ( not ( sys . platform == 'darwin' ) ) ) #NEWLINE# def test_uint64_max( ) : #NEWLINE# #INDENT# big = ( ( 2 ** 64 ) - 1 ) #NEWLINE# arr = np . array ( [ big , big , big ] , dtype = np . uint64 ) #NEWLINE# inds = ( np . indices ( arr . shape ) - 0.1 ) #NEWLINE# x = ndimage . map_coordinates ( arr , inds ) #NEWLINE# assert_ ( ( x [ 1 ] > ( 2 ** 63 ) ) ) #NEWLINE# x = ndimage . shift ( arr , 0.1 ) #NEWLINE# assert_ ( ( x [ 1 ] > ( 2 ** 63 ) ) )