#NEWLINE# @ testing . for_all_dtypes ( ) #NEWLINE# @ testing . numpy_cupy_raises ( ) #NEWLINE# def test_roll_invalid_negative_axis( self , xp , dtype ) : #NEWLINE# #INDENT# x = testing . shaped_arange ( ( 5 , 2 ) , xp , dtype ) #NEWLINE# return xp . roll ( x , 1 , axis = ( - 3 ) )