Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 13, 2024
1 parent 84607e3 commit 0d61224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ def test_max_depth_warning_is_raised_if_max_depth_gte_5_and_num_leaves_omitted(c
@pytest.mark.parametrize("order", ["C", "F"])
@pytest.mark.parametrize("dtype", ["float32", "int64"])
def test_no_copy_in_dataset_from_numpy_2d(order, dtype):
X = np.random.rand(100, 3)
X = np.random.default_rng().random(size=(100, 3))
X = np.require(X, dtype=dtype, requirements=order)
X1d = lgb.basic._np2d_to_np1d(X)
if dtype == "float32":
Expand Down

0 comments on commit 0d61224

Please sign in to comment.