Skip to content

Commit

Permalink
make random Dask test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed May 15, 2021
1 parent bbf3af8 commit c43c985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def test_warns_and_continues_on_unrecognized_tree_learner(cluster):
with pytest.warns(UserWarning, match='Parameter tree_learner set to some-nonsense-value'):
dask_regressor = dask_regressor.fit(X, y)

assert dask_regressor.fitted_
assert not dask_regressor.fitted_


@pytest.mark.parametrize('tree_learner', ['data_parallel', 'voting_parallel'])
Expand Down

0 comments on commit c43c985

Please sign in to comment.