Skip to content

Commit

Permalink
Adapt to new default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Feb 15, 2025
1 parent 5ee607a commit 880bdee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test__utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def test_convert_treatment_raise(use_pd):
[
(LinearRegression(), False),
(
HistGradientBoostingClassifier(),
HistGradientBoostingClassifier(categorical_features=None),
False,
), # The default for categorical_features will change to "from_dtype" in v1.6
),
(HistGradientBoostingClassifier(categorical_features="from_dtype"), True),
(LGBMRegressor(), True),
(XGBRegressor(), False),
Expand Down

0 comments on commit 880bdee

Please sign in to comment.