{"action":"closed","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3184","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3184/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3184/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3184/events","html_url":"https://github.com/astropy/astropy/issues/3184","id":51218616,"number":3184,"title":"Affiliated packages should be able to run tests in IPython if they wish","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},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/testing","name":"testing","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-12-07T14:01:30Z","updated_at":"2015-04-14T15:14:39Z","closed_at":"2015-04-14T15:14:39Z","body":"At the moment, running tests in IPython gives:\n\n```\n/Users/tom/Library/Python/3.4/lib/python/site-packages/astropy-1.0.dev10666-py3.4-macosx-10.8-x86_64.egg/astropy/tests/helper.py in run_tests(self, package, test_path, args, plugins, verbose, pastebin, remote_data, pep8, pdb, coverage, open_files, parallel, docs_path, skip_docs, repeat)\n    117         else:\n    118             raise RuntimeError(\n--> 119                 \"Running astropy tests inside of IPython is not supported.\")\n    120 \n    121         if coverage:\n\nRuntimeError: Running astropy tests inside of IPython is not supported.\n```\n\neven for affiliated packages. We disabled this in Astropy core because of some tests not interacting well with IPython but there's no reason we should prevent affiliated packages from doing this."}}