Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions sklearn/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ def _tested_non_meta_estimators():


def _generate_checks_per_estimator(check_generator, estimators):
for name, Estimator in estimators:
estimator = Estimator()
for check in check_generator(name, estimator):
yield name, Estimator, check
with ignore_warnings(category=(DeprecationWarning, FutureWarning)):
for name, Estimator in estimators:
estimator = Estimator()
for check in check_generator(name, estimator):
yield name, Estimator, check


def _rename_partial(val):
Expand Down