#NEWLINE# def test_input_format( self ) : #NEWLINE# #INDENT# clf = self . factory ( alpha = 0.01 , n_iter = 5 , shuffle = False ) #NEWLINE# clf . fit ( X , Y ) #NEWLINE# Y_ = np . array ( Y ) [ : , np . newaxis ] #NEWLINE# Y_ = np . c_ [ ( Y_ , Y_ ) ] #NEWLINE# assert_raises ( ValueError , Y_ . fit , X , Y_ )