Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sklearn/model_selection/tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ def test_empty_cv_iterator_error():

train_size = 100
ridge = RandomizedSearchCV(Ridge(), {'alpha': [1e-3, 1e-2, 1e-1]},
cv=cv, n_jobs=-1)
cv=cv, n_jobs=4)

# assert that this raises an error
with pytest.raises(ValueError,
Expand All @@ -1779,7 +1779,7 @@ def get_n_splits(self, *args, **kw):

train_size = 100
ridge = RandomizedSearchCV(Ridge(), {'alpha': [1e-3, 1e-2, 1e-1]},
cv=cv, n_jobs=-1)
cv=cv, n_jobs=4)

# assert that this raises an error
with pytest.raises(ValueError,
Expand Down