Skip to content

Commit ee8036a

Browse files
author
Joao Felipe Rocha
committed
Removed brute force warning. It is no longer necessary
1 parent 9547d3d commit ee8036a

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

test/test_knn.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -402,18 +402,15 @@ def bandwidth(x):
402402

403403

404404
def test_knn_graph_sparse_no_pca():
405-
with assert_warns_message(
406-
UserWarning, "cannot use tree with sparse input: using brute force"
407-
):
408-
build_graph(
409-
sp.coo_matrix(data),
410-
n_pca=None, # n_pca,
411-
decay=10,
412-
knn=3,
413-
thresh=1e-4,
414-
random_state=42,
415-
use_pygsp=True,
416-
)
405+
build_graph(
406+
sp.coo_matrix(data),
407+
n_pca=None, # n_pca,
408+
decay=10,
409+
knn=3,
410+
thresh=1e-4,
411+
random_state=42,
412+
use_pygsp=True,
413+
)
417414

418415

419416
#####################################################

0 commit comments

Comments
 (0)