#NEWLINE# def test_extent_iter_1d( self ) : #NEWLINE# #INDENT# nparr = np . empty ( 4 ) #NEWLINE# arr = Array . from_desc ( 0 , nparr . shape , nparr . strides , nparr . dtype . itemsize ) #NEWLINE# [ ext ] = list ( arr . iter_contiguous_extent ( ) ) #NEWLINE# self . assertEqual ( nparr , arr . extent )