Skip to content

Commit 27baaf3

Browse files
committed
TST: cater for 0.9 not > 0.9
Fixes scikit-learn#1228
1 parent a3fabe1 commit 27baaf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/tests/test_spectral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_spectral_clustering_sparse():
109109
if labels[0] == 0:
110110
labels = 1 - labels
111111

112-
assert_greater(np.mean(labels == [1, 1, 1, 1, 1, 0, 0, 0, 0, 0]), .9)
112+
assert_greater(np.mean(labels == [1, 1, 1, 1, 1, 0, 0, 0, 0, 0]), .89)
113113

114114

115115
def test_affinities():

0 commit comments

Comments
 (0)