#NEWLINE# @ pytest . fixture #NEWLINE# def iterset2indset( iterset , indset ) : #NEWLINE# #INDENT# u_map = numpy . array ( range ( nelems ) , dtype = numpy . uint32 ) #NEWLINE# random . shuffle ( u_map , _seed ) #NEWLINE# return op2 . Map ( iterset , indset , 1 , u_map , 'iterset2indset' )