#NEWLINE# def test_isomap_clone_bug( ) : #NEWLINE# #INDENT# model = manifold . Isomap ( ) #NEWLINE# for n_neighbors in [ 10 , 15 , 20 ] : #NEWLINE# #INDENT# model . set_params ( n_neighbors = n_neighbors ) #NEWLINE# model . fit ( np . random . rand ( 50 , 2 ) ) #NEWLINE# assert_equal ( model . nbrs_ . n_neighbors , n_neighbors )