#NEWLINE# @ testing . for_all_dtypes ( no_bool = True ) #NEWLINE# @ testing . numpy_cupy_array_equal ( ) #NEWLINE# def test_linspace( self , xp , dtype ) : #NEWLINE# #INDENT# return xp . linspace ( 0 , 10 , 5 , dtype = dtype )