scikit-learn/scikit-learn — pull request #3752 by MechCoder (2014-10-10 15:18:29+00:00)
Title: FIX: Remove 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"