File tree 2 files changed +9
-0
lines changed
Filter options
2 files changed +9
-0
lines changed
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ def test_discretize(n_samples):
196
196
# https://github.com/scikit-learn/scikit-learn/issues/15913
197
197
@pytest .mark .filterwarnings (
198
198
"ignore:scipy.rand is deprecated:DeprecationWarning:pyamg.*" )
199
+ # TODO: Remove when pyamg removes the use of np.float
200
+ @pytest .mark .filterwarnings (
201
+ "ignore:`np.float` is a deprecated alias:DeprecationWarning:pyamg.*" )
199
202
def test_spectral_clustering_with_arpack_amg_solvers ():
200
203
# Test that spectral_clustering is the same for arpack and amg solver
201
204
# Based on toy example from plot_segmentation_toy.py
Original file line number Diff line number Diff line change @@ -181,6 +181,9 @@ def test_spectral_embedding_callable_affinity(X, seed=36):
181
181
# https://github.com/scikit-learn/scikit-learn/issues/15913
182
182
@pytest .mark .filterwarnings (
183
183
"ignore:scipy.rand is deprecated:DeprecationWarning:pyamg.*" )
184
+ # TODO: Remove when pyamg removes the use of np.float
185
+ @pytest .mark .filterwarnings (
186
+ "ignore:`np.float` is a deprecated alias:DeprecationWarning:pyamg.*" )
184
187
def test_spectral_embedding_amg_solver (seed = 36 ):
185
188
# Test spectral embedding with amg solver
186
189
pytest .importorskip ('pyamg' )
@@ -216,6 +219,9 @@ def test_spectral_embedding_amg_solver(seed=36):
216
219
# https://github.com/scikit-learn/scikit-learn/issues/15913
217
220
@pytest .mark .filterwarnings (
218
221
"ignore:scipy.rand is deprecated:DeprecationWarning:pyamg.*" )
222
+ # TODO: Remove when pyamg removes the use of np.float
223
+ @pytest .mark .filterwarnings (
224
+ "ignore:`np.float` is a deprecated alias:DeprecationWarning:pyamg.*" )
219
225
def test_spectral_embedding_amg_solver_failure ():
220
226
# Non-regression test for amg solver failure (issue #13393 on github)
221
227
pytest .importorskip ('pyamg' )
You can’t perform that action at this time.
0 commit comments