We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abbdc91 commit 6de7957Copy full SHA for 6de7957
sklearn/tests/test_common.py
@@ -72,10 +72,11 @@ def _tested_non_meta_estimators():
72
73
74
def _generate_checks_per_estimator(check_generator, estimators):
75
- for name, Estimator in estimators:
76
- estimator = Estimator()
77
- for check in check_generator(name, estimator):
78
- yield name, Estimator, check
+ with ignore_warnings(category=(DeprecationWarning, FutureWarning)):
+ for name, Estimator in estimators:
+ estimator = Estimator()
+ for check in check_generator(name, estimator):
79
+ yield name, Estimator, check
80
81
82
def _rename_partial(val):
0 commit comments