{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5","id":55685852,"html_url":"https://github.com/CenterForOpenScience/aiohttpretty/pull/5","diff_url":"https://github.com/CenterForOpenScience/aiohttpretty/pull/5.diff","patch_url":"https://github.com/CenterForOpenScience/aiohttpretty/pull/5.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/5","number":5,"state":"open","locked":false,"title":"mock ClientResponse _loop attr to avoid crashes","user":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"body":"A real ClientResponse object will have ._post_init() called on it to\r\nsupply the event loop.  The __del__ method expects an event loop to be\r\nthere and will crash if not found.  Mock it to avoid crashes when an\r\nexception outside of aiohttpretty forces shutdown of the ClientResponse\r\nobject.\r\n\r\nThis fixes a bug in the WaterButler-python 3.5 conversion that was\r\ncausing asyncs in with pytest.raises to crash.","created_at":"2016-01-11T22:12:04Z","updated_at":"2016-01-11T22:12:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/5/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/statuses/966d23a67e35ccc50aeac151c5860672f2a5301a","head":{"label":"felliott:feature/fix-loop-closing-crash","ref":"feature/fix-loop-closing-crash","sha":"966d23a67e35ccc50aeac151c5860672f2a5301a","user":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"repo":{"id":45370727,"name":"aiohttpretty","full_name":"felliott/aiohttpretty","owner":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felliott/aiohttpretty","description":"","fork":true,"url":"https://api.github.com/repos/felliott/aiohttpretty","forks_url":"https://api.github.com/repos/felliott/aiohttpretty/forks","keys_url":"https://api.github.com/repos/felliott/aiohttpretty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felliott/aiohttpretty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felliott/aiohttpretty/teams","hooks_url":"https://api.github.com/repos/felliott/aiohttpretty/hooks","issue_events_url":"https://api.github.com/repos/felliott/aiohttpretty/issues/events{/number}","events_url":"https://api.github.com/repos/felliott/aiohttpretty/events","assignees_url":"https://api.github.com/repos/felliott/aiohttpretty/assignees{/user}","branches_url":"https://api.github.com/repos/felliott/aiohttpretty/branches{/branch}","tags_url":"https://api.github.com/repos/felliott/aiohttpretty/tags","blobs_url":"https://api.github.com/repos/felliott/aiohttpretty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felliott/aiohttpretty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felliott/aiohttpretty/git/refs{/sha}","trees_url":"https://api.github.com/repos/felliott/aiohttpretty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felliott/aiohttpretty/statuses/{sha}","languages_url":"https://api.github.com/repos/felliott/aiohttpretty/languages","stargazers_url":"https://api.github.com/repos/felliott/aiohttpretty/stargazers","contributors_url":"https://api.github.com/repos/felliott/aiohttpretty/contributors","subscribers_url":"https://api.github.com/repos/felliott/aiohttpretty/subscribers","subscription_url":"https://api.github.com/repos/felliott/aiohttpretty/subscription","commits_url":"https://api.github.com/repos/felliott/aiohttpretty/commits{/sha}","git_commits_url":"https://api.github.com/repos/felliott/aiohttpretty/git/commits{/sha}","comments_url":"https://api.github.com/repos/felliott/aiohttpretty/comments{/number}","issue_comment_url":"https://api.github.com/repos/felliott/aiohttpretty/issues/comments{/number}","contents_url":"https://api.github.com/repos/felliott/aiohttpretty/contents/{+path}","compare_url":"https://api.github.com/repos/felliott/aiohttpretty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felliott/aiohttpretty/merges","archive_url":"https://api.github.com/repos/felliott/aiohttpretty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felliott/aiohttpretty/downloads","issues_url":"https://api.github.com/repos/felliott/aiohttpretty/issues{/number}","pulls_url":"https://api.github.com/repos/felliott/aiohttpretty/pulls{/number}","milestones_url":"https://api.github.com/repos/felliott/aiohttpretty/milestones{/number}","notifications_url":"https://api.github.com/repos/felliott/aiohttpretty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felliott/aiohttpretty/labels{/name}","releases_url":"https://api.github.com/repos/felliott/aiohttpretty/releases{/id}","created_at":"2015-11-02T03:43:34Z","updated_at":"2015-11-02T03:43:35Z","pushed_at":"2016-01-11T22:11:25Z","git_url":"git://github.com/felliott/aiohttpretty.git","ssh_url":"git@github.com:felliott/aiohttpretty.git","clone_url":"https://github.com/felliott/aiohttpretty.git","svn_url":"https://github.com/felliott/aiohttpretty","homepage":null,"size":15,"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":"CenterForOpenScience:master","ref":"master","sha":"b5b742cba4e3d1e6b883f122f2b621219a781833","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":28314020,"name":"aiohttpretty","full_name":"CenterForOpenScience/aiohttpretty","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/aiohttpretty","description":"","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty","forks_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/releases{/id}","created_at":"2014-12-21T21:35:30Z","updated_at":"2015-09-04T04:02:20Z","pushed_at":"2015-11-03T20:52:39Z","git_url":"git://github.com/CenterForOpenScience/aiohttpretty.git","ssh_url":"git@github.com:CenterForOpenScience/aiohttpretty.git","clone_url":"https://github.com/CenterForOpenScience/aiohttpretty.git","svn_url":"https://github.com/CenterForOpenScience/aiohttpretty","homepage":null,"size":205,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5"},"html":{"href":"https://github.com/CenterForOpenScience/aiohttpretty/pull/5"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/5"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/aiohttpretty/statuses/966d23a67e35ccc50aeac151c5860672f2a5301a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}