8000 TST Adds atol to test_dtype_match (#14385) · scikit-learn/scikit-learn@e4aac74 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4aac74

Browse files
thomasjpfanqinhanmin2014
authored andcommitted
TST Adds atol to test_dtype_match (#14385)
1 parent b0fdc4c commit e4aac74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/tests/test_ridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ def test_dtype_match(solver):
11131113
assert coef_64.dtype == X_64.dtype
11141114
assert ridge_32.predict(X_32).dtype == X_32.dtype
11151115
assert ridge_64.predict(X_64).dtype == X_64.dtype
1116-
assert_allclose(ridge_32.coef_, ridge_64.coef_, rtol=1e-4)
1116+
assert_allclose(ridge_32.coef_, ridge_64.coef_, rtol=1e-4, atol=5e-4)
11171117

11181118

11191119
def test_dtype_match_cholesky():

0 commit comments

Comments
 (0)
0