#NEWLINE# @ testing . numpy_cupy_array_equal ( ) #NEWLINE# def test_external_squeeze( self , xp ) : #NEWLINE# #INDENT# a = testing . shaped_arange ( ( 1 , 2 , 1 , 3 , 1 , 1 , 4 , 1 ) , self ) #NEWLINE# return xp . squeeze ( a )