{"action":"created","comment":{"url":"https://api.github.com/repos/astropy/astropy/pulls/comments/41193832","id":41193832,"diff_hunk":"@@ -189,6 +189,9 @@ def test(package=None, test_path=None, args=None, plugins=None,\n     skip_docs : bool, optional\n         When `True`, skips running the doctests in the .rst files.\n \n+    kselect : str, optional\n+        Test selection, passed to py.test as \"-k <kselect>\".","path":"astropy/__init__.py","position":14,"original_position":14,"commit_id":"18bc94f087163505f2f06f262d754a30b494402a","original_commit_id":"18bc94f087163505f2f06f262d754a30b494402a","user":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"body":"`-k` is fine for the short name.   In principle we don't even need a long name, but if we had one I'd just say `--test-name` or something like that.  The point is that it matches the test name against a pattern.","created_at":"2015-10-05T20:34:09Z","updated_at":"2015-10-05T20:34:09Z","html_url":"https://github.com/astropy/astropy/pull/2833#discussion_r41193832","pull_request_url":"https://api.github.com/repos/astropy/astropy/pulls/2833","_links":{"self":{"href":"https://api.github.com/repos/astropy/astropy/pulls/comments/41193832"},"html":{"href":"https://github.com/astropy/astropy/pull/2833#discussion_r41193832"},"pull_request":{"href":"https://api.github.com/repos/astropy/astropy/pulls/2833"}}},"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/2833","id":19487952,"html_url":"https://github.com/astropy/astropy/pull/2833","diff_url":"https://github.com/astropy/astropy/pull/2833.diff","patch_url":"https://github.com/astropy/astropy/pull/2833.patch","issue_url":"https://api.github.com/repos/astropy/astropy/issues/2833","number":2833,"state":"open","locked":false,"title":"Added kselect option to test runner","user":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"body":"I got tired of constantly doing ``python setup.py test --args=\"-k <something>\"`` to select particular tests by name, so this adds a command to the astropy test runner that does this directly (without needing to go through ``args``)","created_at":"2014-08-07T19:15:03Z","updated_at":"2015-10-05T20:34:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5510edc82759081ad1015ff696a108666ab73ca8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/astropy/astropy/pulls/2833/commits","review_comments_url":"https://api.github.com/repos/astropy/astropy/pulls/2833/comments","review_comment_url":"https://api.github.com/repos/astropy/astropy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/2833/comments","statuses_url":"https://api.github.com/repos/astropy/astropy/statuses/18bc94f087163505f2f06f262d754a30b494402a","head":{"label":"eteq:add-k-to-test-runner","ref":"add-k-to-test-runner","sha":"18bc94f087163505f2f06f262d754a30b494402a","user":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"repo":{"id":2103466,"name":"astropy","full_name":"eteq/astropy","owner":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eteq/astropy","description":"Main AstroPy repository","fork":true,"url":"https://api.github.com/repos/eteq/astropy","forks_url":"https://api.github.com/repos/eteq/astropy/forks","keys_url":"https://api.github.com/repos/eteq/astropy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eteq/astropy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eteq/astropy/teams","hooks_url":"https://api.github.com/repos/eteq/astropy/hooks","issue_events_url":"https://api.github.com/repos/eteq/astropy/issues/events{/number}","events_url":"https://api.github.com/repos/eteq/astropy/events","assignees_url":"https://api.github.com/repos/eteq/astropy/assignees{/user}","branches_url":"https://api.github.com/repos/eteq/astropy/branches{/branch}","tags_url":"https://api.github.com/repos/eteq/astropy/tags","blobs_url":"https://api.github.com/repos/eteq/astropy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eteq/astropy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eteq/astropy/git/refs{/sha}","trees_url":"https://api.github.com/repos/eteq/astropy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eteq/astropy/statuses/{sha}","languages_url":"https://api.github.com/repos/eteq/astropy/languages","stargazers_url":"https://api.github.com/repos/eteq/astropy/stargazers","contributors_url":"https://api.github.com/repos/eteq/astropy/contributors","subscribers_url":"https://api.github.com/repos/eteq/astropy/subscribers","subscription_url":"https://api.github.com/repos/eteq/astropy/subscription","commits_url":"https://api.github.com/repos/eteq/astropy/commits{/sha}","git_commits_url":"https://api.github.com/repos/eteq/astropy/git/commits{/sha}","comments_url":"https://api.github.com/repos/eteq/astropy/comments{/number}","issue_comment_url":"https://api.github.com/repos/eteq/astropy/issues/comments{/number}","contents_url":"https://api.github.com/repos/eteq/astropy/contents/{+path}","compare_url":"https://api.github.com/repos/eteq/astropy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eteq/astropy/merges","archive_url":"https://api.github.com/repos/eteq/astropy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eteq/astropy/downloads","issues_url":"https://api.github.com/repos/eteq/astropy/issues{/number}","pulls_url":"https://api.github.com/repos/eteq/astropy/pulls{/number}","milestones_url":"https://api.github.com/repos/eteq/astropy/milestones{/number}","notifications_url":"https://api.github.com/repos/eteq/astropy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eteq/astropy/labels{/name}","releases_url":"https://api.github.com/repos/eteq/astropy/releases{/id}","created_at":"2011-07-25T21:02:57Z","updated_at":"2015-07-21T16:48:45Z","pushed_at":"2015-10-05T19:49:29Z","git_url":"git://github.com/eteq/astropy.git","ssh_url":"git@github.com:eteq/astropy.git","clone_url":"https://github.com/eteq/astropy.git","svn_url":"https://github.com/eteq/astropy","homepage":"astropy.org","size":52071,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"staging"}},"base":{"label":"astropy:master","ref":"master","sha":"7b595e4394ee1a3369fbe07b5474636366039483","user":{"login":"astropy","id":847984,"avatar_url":"https://avatars.githubusercontent.com/u/847984?v=3","gravatar_id":"","url":"https://api.github.com/users/astropy","html_url":"https://github.com/astropy","followers_url":"https://api.github.com/users/astropy/followers","following_url":"https://api.github.com/users/astropy/following{/other_user}","gists_url":"https://api.github.com/users/astropy/gists{/gist_id}","starred_url":"https://api.github.com/users/astropy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astropy/subscriptions","organizations_url":"https://api.github.com/users/astropy/orgs","repos_url":"https://api.github.com/users/astropy/repos","events_url":"https://api.github.com/users/astropy/events{/privacy}","received_events_url":"https://api.github.com/users/astropy/received_events","type":"Organization","site_admin":false},"repo":{"id":2081289,"name":"astropy","full_name":"astropy/astropy","owner":{"login":"astropy","id":847984,"avatar_url":"https://avatars.githubusercontent.com/u/847984?v=3","gravatar_id":"","url":"https://api.github.com/users/astropy","html_url":"https://github.com/astropy","followers_url":"https://api.github.com/users/astropy/followers","following_url":"https://api.github.com/users/astropy/following{/other_user}","gists_url":"https://api.github.com/users/astropy/gists{/gist_id}","starred_url":"https://api.github.com/users/astropy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astropy/subscriptions","organizations_url":"https://api.github.com/users/astropy/orgs","repos_url":"https://api.github.com/users/astropy/repos","events_url":"https://api.github.com/users/astropy/events{/privacy}","received_events_url":"https://api.github.com/users/astropy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/astropy/astropy","description":"Repository for the Astropy core package","fork":false,"url":"https://api.github.com/repos/astropy/astropy","forks_url":"https://api.github.com/repos/astropy/astropy/forks","keys_url":"https://api.github.com/repos/astropy/astropy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astropy/astropy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astropy/astropy/teams","hooks_url":"https://api.github.com/repos/astropy/astropy/hooks","issue_events_url":"https://api.github.com/repos/astropy/astropy/issues/events{/number}","events_url":"https://api.github.com/repos/astropy/astropy/events","assignees_url":"https://api.github.com/repos/astropy/astropy/assignees{/user}","branches_url":"https://api.github.com/repos/astropy/astropy/branches{/branch}","tags_url":"https://api.github.com/repos/astropy/astropy/tags","blobs_url":"https://api.github.com/repos/astropy/astropy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astropy/astropy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astropy/astropy/git/refs{/sha}","trees_url":"https://api.github.com/repos/astropy/astropy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astropy/astropy/statuses/{sha}","languages_url":"https://api.github.com/repos/astropy/astropy/languages","stargazers_url":"https://api.github.com/repos/astropy/astropy/stargazers","contributors_url":"https://api.github.com/repos/astropy/astropy/contributors","subscribers_url":"https://api.github.com/repos/astropy/astropy/subscribers","subscription_url":"https://api.github.com/repos/astropy/astropy/subscription","commits_url":"https://api.github.com/repos/astropy/astropy/commits{/sha}","git_commits_url":"https://api.github.com/repos/astropy/astropy/git/commits{/sha}","comments_url":"https://api.github.com/repos/astropy/astropy/comments{/number}","issue_comment_url":"https://api.github.com/repos/astropy/astropy/issues/comments{/number}","contents_url":"https://api.github.com/repos/astropy/astropy/contents/{+path}","compare_url":"https://api.github.com/repos/astropy/astropy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astropy/astropy/merges","archive_url":"https://api.github.com/repos/astropy/astropy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astropy/astropy/downloads","issues_url":"https://api.github.com/repos/astropy/astropy/issues{/number}","pulls_url":"https://api.github.com/repos/astropy/astropy/pulls{/number}","milestones_url":"https://api.github.com/repos/astropy/astropy/milestones{/number}","notifications_url":"https://api.github.com/repos/astropy/astropy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astropy/astropy/labels{/name}","releases_url":"https://api.github.com/repos/astropy/astropy/releases{/id}","created_at":"2011-07-21T01:33:49Z","updated_at":"2015-10-01T22:41:43Z","pushed_at":"2015-10-05T20:01:26Z","git_url":"git://github.com/astropy/astropy.git","ssh_url":"git@github.com:astropy/astropy.git","clone_url":"https://github.com/astropy/astropy.git","svn_url":"https://github.com/astropy/astropy","homepage":"www.astropy.org","size":67558,"stargazers_count":669,"watchers_count":669,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":435,"mirror_url":null,"open_issues_count":598,"forks":435,"open_issues":598,"watchers":669,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astropy/astropy/pulls/2833"},"html":{"href":"https://github.com/astropy/astropy/pull/2833"},"issue":{"href":"https://api.github.com/repos/astropy/astropy/issues/2833"},"comments":{"href":"https://api.github.com/repos/astropy/astropy/issues/2833/comments"},"review_comments":{"href":"https://api.github.com/repos/astropy/astropy/pulls/2833/comments"},"review_comment":{"href":"https://api.github.com/repos/astropy/astropy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astropy/astropy/pulls/2833/commits"},"statuses":{"href":"https://api.github.com/repos/astropy/astropy/statuses/18bc94f087163505f2f06f262d754a30b494402a"}}}}