#NEWLINE# def test_err_ndim( self ) : #NEWLINE# #INDENT# data = numpy . random . rand ( 10 , 10 ) . astype ( 'float32' ) #NEWLINE# output_var = f32sc ( name = 'output' , value = data ) #NEWLINE# self . assertRaises ( TypeError , theano . function , inputs = [ ] , outputs = [ ] , updates = [ ( output_var , output_var . sum ( ) ) ] )