{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4549","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4549/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4549/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4549/events","html_url":"https://github.com/astropy/astropy/issues/4549","id":130302230,"number":4549,"title":"1.1.1: test_table_aggregate expects no warning from external packages (and now fails with numpy)","user":{"login":"olebole","id":397223,"avatar_url":"https://avatars.githubusercontent.com/u/397223?v=3","gravatar_id":"","url":"https://api.github.com/users/olebole","html_url":"https://github.com/olebole","followers_url":"https://api.github.com/users/olebole/followers","following_url":"https://api.github.com/users/olebole/following{/other_user}","gists_url":"https://api.github.com/users/olebole/gists{/gist_id}","starred_url":"https://api.github.com/users/olebole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olebole/subscriptions","organizations_url":"https://api.github.com/users/olebole/orgs","repos_url":"https://api.github.com/users/olebole/repos","events_url":"https://api.github.com/users/olebole/events{/privacy}","received_events_url":"https://api.github.com/users/olebole/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/table","name":"table","color":"c7def8"},{"url":"https://api.github.com/repos/astropy/astropy/labels/testing","name":"testing","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T09:05:07Z","updated_at":"2016-06-12T10:40:49Z","closed_at":null,"body":"After upgrading to numpy 1.11.0 beta 2, I got the following test failures:\r\n```\r\n_________________________ test_table_aggregate[False] __________________________\r\n[...]\r\n        with catch_warnings(Warning) as warning_lines:\r\n            tga = tg.groups.aggregate(np.sum)\r\n>           assert warning_lines[0].category == UserWarning\r\nE           assert <type 'exceptions.FutureWarning'> == UserWarning\r\nE            +  where <type 'exceptions.FutureWarning'> = <type 'exceptions.FutureWarning'>\r\nE            +    where <type 'exceptions.FutureWarning'> = <warnings.WarningMessage object at 0x7fe2c268f7d0>.category\r\n\r\n/usr/lib/python2.7/dist-packages/astropy/table/tests/test_groups.py:412: AssertionError\r\n```\r\nThis happens four times (twice with `False`, and twice with `True`). The `FutureWarning` is probably one of numpy's warnings that the behaviour of slices will change in future. Full test log [here](https://ci.debian.net/data/packages/unstable/amd64/p/python-astropy/20160131_061934.autopkgtest.log.gz)."},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/225425708","html_url":"https://github.com/astropy/astropy/issues/4549#issuecomment-225425708","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4549","id":225425708,"user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T10:40:49Z","updated_at":"2016-06-12T10:40:49Z","body":"@olebole - can you check if this is still an issue? I think it should be fixed with the final Numpy 1.11?"}}
{"actor":{"display_login":"astrofrog"}}