#NEWLINE# def test_identical_regressors( ) : #NEWLINE# #INDENT# newX = X . copy ( ) #NEWLINE# newX [ : , 1 ] = newX [ : , 0 ] #NEWLINE# gamma = np . zeros ( n_features ) #NEWLINE# gamma [ 0 ] = gamma [ 1 ] = 1.0 #NEWLINE# newy = np . dot ( newX , gamma ) #NEWLINE# assert_warns ( RuntimeWarning , orthogonal_mp , newX , newy , 2 )