8000 MAINT adjust tolerance in test_balance_property (#25098) · scikit-learn/scikit-learn@caefdd4 · GitHub
[go: up one dir, main page]

Skip to content

Commit caefdd4

Browse files
authored
MAINT adjust tolerance in test_balance_property (#25098)
1 parent c557080 commit caefdd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_balance_property(model, with_sample_weight, global_random_seed):
9898
):
9999
pytest.skip("Estimator does not support sample_weight.")
100100

101-
rel = 1e-4 # test precision
101+
rel = 2e-4 # test precision
102102
if isinstance(model, SGDRegressor):
103103
rel = 1e-1
104104
elif hasattr(model, "solver") and model.solver == "saga":

0 commit comments

Comments
 (0)
0