Skip to content

Commit 62c4951

Browse files
committed
Deprecation warnings beak a minor test case
1 parent 76ab7b3 commit 62c4951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdbscan/tests/test_flat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_switch_to_leaf():
133133
# Then, a warning is raised saying 'eom' can't get this clustering,
134134
assert len(w) > 0
135135
assert issubclass(w[-1].category, UserWarning) or issubclass(w[-1].category, DeprecationWarning)
136-
// assert "Cannot predict" in str(w[-1].message)
136+
# assert "Cannot predict" in str(w[-1].message)
137137

138138
# the resulting clusterer switches to using method 'leaf',
139139
assert clusterer_flat.cluster_selection_method == 'leaf', (

0 commit comments

Comments
 (0)