MAINT remove duplicate category
@@ -104,9 +104,7 @@ def _tested_estimators(type_filter=None):
@parametrize_with_checks(list(_tested_estimators()))
def test_estimators(estimator, check, request):
# Common tests for estimator instances
- with ignore_warnings(
- category=(FutureWarning, ConvergenceWarning, UserWarning, FutureWarning)
- ):
+ with ignore_warnings(category=(FutureWarning, ConvergenceWarning, UserWarning)):
_set_checking_parameters(estimator)
check(estimator)
@@ -304,7 +302,6 @@ def test_search_cv(estimator, check, request):
FutureWarning,
ConvergenceWarning,
UserWarning,
- FutureWarning,
FitFailedWarning,
)
):
