8000 MAINT remove duplicate category (#21056) · scikit-learn/scikit-learn@8f903ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f903ca

Browse files
PSSF23glemaitre
authored andcommitted
MAINT remove duplicate category (#21056)
1 parent 8f6571e commit 8f903ca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sklearn/tests/test_common.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ def _tested_estimators(type_filter=None):
104104
@parametrize_with_checks(list(_tested_estimators()))
105105
def test_estimators(estimator, check, request):
106106
# Common tests for estimator instances
107-
with ignore_warnings(
108-
category=(FutureWarning, ConvergenceWarning, UserWarning, FutureWarning)
109-
):
107+
with ignore_warnings(category=(FutureWarning, ConvergenceWarning, UserWarning)):
110108
_set_checking_parameters(estimator)
111109
check(estimator)
112110

@@ -304,7 +302,6 @@ def test_search_cv(estimator, check, request):
304302
FutureWarning,
305303
ConvergenceWarning,
306304
UserWarning,
307-
FutureWarning,
308305
FitFailedWarning,
309306
)
310307
):

0 commit comments

Comments
 (0)
0