Skip to content

Commit

Permalink
[ci] [python-package] remove unused import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Apr 27, 2021
1 parent d5c2c55 commit 558bc79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/python_package_test/test_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import os

import numpy as np
import pytest
from sklearn.metrics import log_loss

Expand Down
2 changes: 1 addition & 1 deletion tests/python_package_test/test_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def test_clone_and_property():
gbm = lgb.LGBMRegressor(n_estimators=10, silent=True)
gbm.fit(X, y, verbose=False)

gbm_clone = clone(gbm)
_ = clone(gbm)
assert isinstance(gbm.booster_, lgb.Booster)
assert isinstance(gbm.feature_importances_, np.ndarray)

Expand Down

0 comments on commit 558bc79

Please sign in to comment.