Yeah, I mean you could add tests for the individual functions in principle.On 2016-01-27 21:01, Ralf Gommers wrote:
One issue will be how to keep this consistent. `stacklevel` is used so
rarely that new PRs will always omit it for new warnings. Will we just
rely on code review, or would a private wrapper around `warn` to use
inside numpy plus a test that checks that the wrapper is used
everywhere be helpful here?
I am not sure if adding an alias helps much, how are we going to test that
warnings.warn is not being used? Seems like quite a bit of voodoo necessary
for that.