From 7bdbacb54ffc15223bcd6ef6ef288be73658517d Mon Sep 17 00:00:00 2001 From: RektPunk Date: Sat, 14 Dec 2024 17:08:58 +0900 Subject: [PATCH] make code lint to pass lint test --- tests/python_package_test/test_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_package_test/test_engine.py b/tests/python_package_test/test_engine.py index ef20b78a40c4..226727ad6985 100644 --- a/tests/python_package_test/test_engine.py +++ b/tests/python_package_test/test_engine.py @@ -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)