We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899acfb commit 9a7a93aCopy full SHA for 9a7a93a
sklearn/model_selection/tests/test_search.py
@@ -889,6 +889,8 @@ def test_search_cv_timing():
889
for search in (gs, rs):
890
search.fit(X, y)
891
for key in ['mean_fit_time', 'std_fit_time']:
892
+ # NOTE The precision of time.time in windows is not high
893
+ # enough for the fit/score times to be non-zero for trivial X and y
894
assert_true(np.all(search.cv_results_[key] >= 0))
895
assert_true(np.all(search.cv_results_[key] < 1))
896
0 commit comments