[MRG+2] FIX: Modify test that tests state of warnings before and after assert_warns

Fixes https://github.com/scikit-learn/scikit-learn/issues/3626

The warnings registry is cleared before and after every call to `assert_warns`. (https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/utils/testing.py#L146) This is because there might be cases when the warning is logged and does not raise a warning in the subsequent call.

So I suggest we remove this "test" and there is no use testing this any more.
Something like.

    # Test that assert_warns is not impacted by externally set
    # filters and is reset internally.
    # This is because `clean_warning_registry` is called internally by
   # assert_warns.