Skip to content

Commit d29562e

Browse files
committed
Merge pull request scikit-learn#5666 from amueller/sag_sparse_warnings
[MRG] catch warnings in tests that the solver is changed to SAG in the sparse case
2 parents b1f3ddb + e232ad6 commit d29562e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sklearn/linear_model/tests/test_ridge.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ def _test_tolerance(filter_):
423423
assert_true(score >= score2)
424424

425425

426+
# ignore warning that solvers are changed to SAG for
427+
# temporary fix
428+
@ignore_warnings
426429
def test_dense_sparse():
427430
for test_func in (_test_ridge_loo,
428431
_test_ridge_cv,

0 commit comments

Comments
 (0)