Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
borchero committed Jan 14, 2024
1 parent c8ae768 commit 9c9f540
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/python_package_test/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,8 +1008,6 @@ def test_early_stopping_via_global_params(first_metric_only, early_stopping_min_
valid_names=valid_set_name)
if first_metric_only and early_stopping_min_delta == 0:
assert gbm.best_iteration == num_trees
elif first_metric_only:
assert gbm.best_iteration == 2
else:
assert gbm.best_iteration == 1
assert valid_set_name in gbm.best_score
Expand Down

0 comments on commit 9c9f540

Please sign in to comment.