I just looked at it and this worries me:
`# To remove when we support numpy 1.7`
I'm working with numpy 1.7...
In case it's fine, how is `assert_warns` supposed to be used?