Well done for this PR, @dengemann. I think `clean_warning_registry` should live in `sklearn.utils.testing`, as it shouldn't be used anywhere else (like `ignore_warnings`, which in theory could apply to non-testing code, but that is inadvisable).