[MRG+1] 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.
I'm sorry but I'm unable to understand this comment. Doesn't the `simplefilter` internally present in `assert_warns` already do this? I'm not sure if this has to be done externally as well