Skip to content

Commit

Permalink
make code lint to pass lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
RektPunk committed Dec 14, 2024
1 parent 52c6a31 commit 7bdbacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,7 @@ def test_refit():
def test_refit_with_one_tree():
X, y = load_breast_cancer(return_X_y=True)
lgb_train = lgb.Dataset(X, label=y)
params={"objective": "binary", "num_trees": 1, "verbosity": -1}
params = {"objective": "binary", "num_trees": 1, "verbosity": -1}
model = lgb.train(params, lgb_train, num_boost_round=1)
model_refit = model.refit(X, y)
assert isinstance(model_refit, lgb.Booster)
Expand Down

0 comments on commit 7bdbacb

Please sign in to comment.