Skip to content

Commit 270c673

Browse files
authored
TST Fixes comment in test to reflect actual missing value (scikit-learn#16872)
1 parent eaf0a04 commit 270c673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/_hist_gradient_boosting/tests/test_splitting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def test_min_gain_to_split():
381381
3, # cut on bin_idx=3
382382
False), # missing values go to right
383383
384-
([6, 6, 6, 6, 0, 1, 2, 3, 4, 5], # 4 <=> missing
384+
([6, 6, 6, 6, 0, 1, 2, 3, 4, 5], # 6 <=> missing
385385
[1, 1, 1, 1, 5, 5, 5, 5, 5, 5],
386386
True, # missing values
387387
6, # n_bins_non_missing

0 commit comments

Comments
 (0)