Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sklearn/linear_model/tests/test_ridge.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
import numpy as np
import scipy.sparse as sp
from scipy import linalg
Expand Down Expand Up @@ -1086,6 +1087,10 @@ def test_dtype_match(solver):
assert coef_64.dtype == X_64.dtype
assert ridge_32.predict(X_32).dtype == X_32.dtype
assert ridge_64.predict(X_64).dtype == X_64.dtype
if solver == "sparse_cg" and sys.platform == "darwin":
pytest.xfail(
"Known failures on MacOS, See "
"https://github.com/scikit-learn/scikit-learn/issues/13868")
assert_allclose(ridge_32.coef_, ridge_64.coef_, rtol=1e-4)


Expand Down