Skip to content

Commit

Permalink
Merge branch 'remove_dask_test_file' into remove_graphviz_test_artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
vnherdeiro committed Sep 2, 2024
2 parents 484d4f8 + c4ab1ff commit 5c4ef7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python_package_test/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,11 +1527,11 @@ def test_predict_with_raw_score(task, output, cluster):
assert_eq(raw_predictions, pred_proba_raw)


def test_distributed_quantized_training(cluster):
def test_distributed_quantized_training(tmp_path, cluster):
with Client(cluster) as client:
X, y, w, _, dX, dy, dw, _ = _create_data(objective="regression", output="array")

np.savetxt("data_dask.csv", np.hstack([np.array([y]).T, X]), fmt="%f,%f,%f,%f,%f")
np.savetxt(tmp_path / "data_dask.csv", np.hstack([np.array([y]).T, X]), fmt="%f,%f,%f,%f,%f")

params = {
"boosting_type": "gbdt",
Expand Down

0 comments on commit 5c4ef7a

Please sign in to comment.