#NEWLINE# def test_concatenate_wrong_ndim( self ) : #NEWLINE# #INDENT# a = cupy . empty ( ( 2 , 3 ) ) #NEWLINE# b = cupy . empty ( ( 2 , ) ) #NEWLINE# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# cupy . concatenate ( ( a , b ) )