#NEWLINE# @ testing . for_all_dtypes ( ) #NEWLINE# @ testing . numpy_cupy_array_equal ( ) #NEWLINE# def test_roll( self , xp , dtype ) : #NEWLINE# #INDENT# x = xp . arange ( 10 , dtype ) #NEWLINE# return xp . roll ( x , 2 )