#NEWLINE# @ testing . with_requires ( 'numpy>=1.10' ) #NEWLINE# @ testing . for_all_dtypes ( ) #NEWLINE# @ testing . numpy_cupy_raises ( ) #NEWLINE# def test_broadcast_to_fail( self , xp , dtype ) : #NEWLINE# #INDENT# a = testing . shaped_arange ( ( 3 , 1 , 4 ) , xp , a ) #NEWLINE# xp . broadcast_to ( a , ( 1 , 3 , 4 ) )