MAINT remove duplicate category (#21056)
This commit is contained in:
parent
eff749a3c6
commit
5f6abe6f7d
|
|
@ -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,
|
||||
)
|
||||
):
|
||||
|
|
|
|||
Loading…
Reference in New Issue