TST remove pytest.warns(None) in test_logistic.py
@@ -134,15 +134,6 @@ def test_logistic_cv_mock_scorer():
assert mock_scorer.calls == 1
-def test_logistic_cv_score_does_not_warn_by_default():
- lr = LogisticRegressionCV(cv=2)
- lr.fit(X, Y1)
-
- with pytest.warns(None) as record:
- lr.score(X, lr.predict(X))
- assert not [w.message for w in record]
-
-
@skip_if_no_parallel
def test_lr_liblinear_warning():
n_samples, n_features = iris.data.shape
