{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53","id":32767574,"html_url":"https://github.com/DRMacIver/hypothesis/pull/53","diff_url":"https://github.com/DRMacIver/hypothesis/pull/53.diff","patch_url":"https://github.com/DRMacIver/hypothesis/pull/53.patch","issue_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/53","number":53,"state":"closed","locked":false,"title":"Support coroutine tests","user":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"body":"This allows to apply `@given` decorator to coroutine functions like this one:\r\n\r\n```python\r\n@given(str)\r\n@asyncio.coroutine\r\ndef test_method(x):\r\n    r = yield from aiohttp.request('GET', 'http://localhost', params={'foo': x})\r\n    assert r.status == 200\r\n```\r\n\r\nSee #52","created_at":"2015-04-07T14:14:02Z","updated_at":"2015-04-07T14:28:01Z","closed_at":"2015-04-07T14:28:01Z","merged_at":null,"merge_commit_sha":"2e70ddb1c16c56bb8de77d8feadee8e01d5bdbc1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53/commits","review_comments_url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53/comments","review_comment_url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/53/comments","statuses_url":"https://api.github.com/repos/DRMacIver/hypothesis/statuses/081a13cc0297c66bfbfc8a1ab26f306b747652df","head":{"label":"kxepal:support-coroutine-tests","ref":"support-coroutine-tests","sha":"081a13cc0297c66bfbfc8a1ab26f306b747652df","user":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"repo":{"id":33535227,"name":"hypothesis","full_name":"kxepal/hypothesis","owner":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kxepal/hypothesis","description":"Hypothesis is an advanced Quickcheck style testing library for Python","fork":true,"url":"https://api.github.com/repos/kxepal/hypothesis","forks_url":"https://api.github.com/repos/kxepal/hypothesis/forks","keys_url":"https://api.github.com/repos/kxepal/hypothesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kxepal/hypothesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kxepal/hypothesis/teams","hooks_url":"https://api.github.com/repos/kxepal/hypothesis/hooks","issue_events_url":"https://api.github.com/repos/kxepal/hypothesis/issues/events{/number}","events_url":"https://api.github.com/repos/kxepal/hypothesis/events","assignees_url":"https://api.github.com/repos/kxepal/hypothesis/assignees{/user}","branches_url":"https://api.github.com/repos/kxepal/hypothesis/branches{/branch}","tags_url":"https://api.github.com/repos/kxepal/hypothesis/tags","blobs_url":"https://api.github.com/repos/kxepal/hypothesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kxepal/hypothesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kxepal/hypothesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/kxepal/hypothesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kxepal/hypothesis/statuses/{sha}","languages_url":"https://api.github.com/repos/kxepal/hypothesis/languages","stargazers_url":"https://api.github.com/repos/kxepal/hypothesis/stargazers","contributors_url":"https://api.github.com/repos/kxepal/hypothesis/contributors","subscribers_url":"https://api.github.com/repos/kxepal/hypothesis/subscribers","subscription_url":"https://api.github.com/repos/kxepal/hypothesis/subscription","commits_url":"https://api.github.com/repos/kxepal/hypothesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/kxepal/hypothesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/kxepal/hypothesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/kxepal/hypothesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/kxepal/hypothesis/contents/{+path}","compare_url":"https://api.github.com/repos/kxepal/hypothesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kxepal/hypothesis/merges","archive_url":"https://api.github.com/repos/kxepal/hypothesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kxepal/hypothesis/downloads","issues_url":"https://api.github.com/repos/kxepal/hypothesis/issues{/number}","pulls_url":"https://api.github.com/repos/kxepal/hypothesis/pulls{/number}","milestones_url":"https://api.github.com/repos/kxepal/hypothesis/milestones{/number}","notifications_url":"https://api.github.com/repos/kxepal/hypothesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kxepal/hypothesis/labels{/name}","releases_url":"https://api.github.com/repos/kxepal/hypothesis/releases{/id}","created_at":"2015-04-07T09:51:55Z","updated_at":"2015-04-07T09:51:55Z","pushed_at":"2015-04-07T14:06:44Z","git_url":"git://github.com/kxepal/hypothesis.git","ssh_url":"git@github.com:kxepal/hypothesis.git","clone_url":"https://github.com/kxepal/hypothesis.git","svn_url":"https://github.com/kxepal/hypothesis","homepage":"","size":2056,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DRMacIver:master","ref":"master","sha":"11ffaea89181f83895e4bf57a0c8fe11825a2172","user":{"login":"DRMacIver","id":28623,"avatar_url":"https://avatars.githubusercontent.com/u/28623?v=3","gravatar_id":"","url":"https://api.github.com/users/DRMacIver","html_url":"https://github.com/DRMacIver","followers_url":"https://api.github.com/users/DRMacIver/followers","following_url":"https://api.github.com/users/DRMacIver/following{/other_user}","gists_url":"https://api.github.com/users/DRMacIver/gists{/gist_id}","starred_url":"https://api.github.com/users/DRMacIver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRMacIver/subscriptions","organizations_url":"https://api.github.com/users/DRMacIver/orgs","repos_url":"https://api.github.com/users/DRMacIver/repos","events_url":"https://api.github.com/users/DRMacIver/events{/privacy}","received_events_url":"https://api.github.com/users/DRMacIver/received_events","type":"User","site_admin":false},"repo":{"id":8685799,"name":"hypothesis","full_name":"DRMacIver/hypothesis","owner":{"login":"DRMacIver","id":28623,"avatar_url":"https://avatars.githubusercontent.com/u/28623?v=3","gravatar_id":"","url":"https://api.github.com/users/DRMacIver","html_url":"https://github.com/DRMacIver","followers_url":"https://api.github.com/users/DRMacIver/followers","following_url":"https://api.github.com/users/DRMacIver/following{/other_user}","gists_url":"https://api.github.com/users/DRMacIver/gists{/gist_id}","starred_url":"https://api.github.com/users/DRMacIver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRMacIver/subscriptions","organizations_url":"https://api.github.com/users/DRMacIver/orgs","repos_url":"https://api.github.com/users/DRMacIver/repos","events_url":"https://api.github.com/users/DRMacIver/events{/privacy}","received_events_url":"https://api.github.com/users/DRMacIver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DRMacIver/hypothesis","description":"Hypothesis is an advanced Quickcheck style testing library for Python","fork":false,"url":"https://api.github.com/repos/DRMacIver/hypothesis","forks_url":"https://api.github.com/repos/DRMacIver/hypothesis/forks","keys_url":"https://api.github.com/repos/DRMacIver/hypothesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DRMacIver/hypothesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DRMacIver/hypothesis/teams","hooks_url":"https://api.github.com/repos/DRMacIver/hypothesis/hooks","issue_events_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/events{/number}","events_url":"https://api.github.com/repos/DRMacIver/hypothesis/events","assignees_url":"https://api.github.com/repos/DRMacIver/hypothesis/assignees{/user}","branches_url":"https://api.github.com/repos/DRMacIver/hypothesis/branches{/branch}","tags_url":"https://api.github.com/repos/DRMacIver/hypothesis/tags","blobs_url":"https://api.github.com/repos/DRMacIver/hypothesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DRMacIver/hypothesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DRMacIver/hypothesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/DRMacIver/hypothesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DRMacIver/hypothesis/statuses/{sha}","languages_url":"https://api.github.com/repos/DRMacIver/hypothesis/languages","stargazers_url":"https://api.github.com/repos/DRMacIver/hypothesis/stargazers","contributors_url":"https://api.github.com/repos/DRMacIver/hypothesis/contributors","subscribers_url":"https://api.github.com/repos/DRMacIver/hypothesis/subscribers","subscription_url":"https://api.github.com/repos/DRMacIver/hypothesis/subscription","commits_url":"https://api.github.com/repos/DRMacIver/hypothesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/DRMacIver/hypothesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/DRMacIver/hypothesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/DRMacIver/hypothesis/contents/{+path}","compare_url":"https://api.github.com/repos/DRMacIver/hypothesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DRMacIver/hypothesis/merges","archive_url":"https://api.github.com/repos/DRMacIver/hypothesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DRMacIver/hypothesis/downloads","issues_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues{/number}","pulls_url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls{/number}","milestones_url":"https://api.github.com/repos/DRMacIver/hypothesis/milestones{/number}","notifications_url":"https://api.github.com/repos/DRMacIver/hypothesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DRMacIver/hypothesis/labels{/name}","releases_url":"https://api.github.com/repos/DRMacIver/hypothesis/releases{/id}","created_at":"2013-03-10T13:51:19Z","updated_at":"2015-04-07T13:11:56Z","pushed_at":"2015-04-07T14:14:03Z","git_url":"git://github.com/DRMacIver/hypothesis.git","ssh_url":"git@github.com:DRMacIver/hypothesis.git","clone_url":"https://github.com/DRMacIver/hypothesis.git","svn_url":"https://github.com/DRMacIver/hypothesis","homepage":"","size":10169,"stargazers_count":403,"watchers_count":403,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":7,"forks":28,"open_issues":7,"watchers":403,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53"},"html":{"href":"https://github.com/DRMacIver/hypothesis/pull/53"},"issue":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/issues/53"},"comments":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/DRMacIver/hypothesis/statuses/081a13cc0297c66bfbfc8a1ab26f306b747652df"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":36,"deletions":3,"changed_files":2}}