MAINT filter deprecation warnings triggered by all_estimators
@@ -514,6 +514,8 @@ def all_estimators(include_meta_estimators=None,
if IS_PYPY and ('_svmlight_format' in modname or
'feature_extraction._hashing' in modname):
continue
+ # Ignore deprecation warnings triggered at import time.
+ with ignore_warnings(category=DeprecationWarning):
module = __import__(modname, fromlist="dummy")
classes = inspect.getmembers(module, inspect.isclass)
all_classes.extend(classes)
