{"action":"created","comment":{"url":"https://api.github.com/repos/joestump/python-oauth2/pulls/comments/41086368","id":41086368,"diff_hunk":"@@ -1380,14 +1426,14 @@ def test_multipart_post_does_not_alter_body(self, mockHttpRequest):\n         uri = self._uri('two_legged')\n \n         def mockrequest(cl, ur, **kw):\n-            self.failUnless(cl is client)\n-            self.failUnless(ur is uri)\n-            self.failUnlessEqual(frozenset(kw.keys()), frozenset(['method', 'body', 'redirections', 'connection_type', 'headers']))\n-            self.failUnlessEqual(kw['body'], body)\n-            self.failUnlessEqual(kw['connection_type'], None)\n-            self.failUnlessEqual(kw['method'], 'POST')\n-            self.failUnlessEqual(kw['redirections'], httplib2.DEFAULT_MAX_REDIRECTS)\n-            self.failUnless(isinstance(kw['headers'], dict))\n+            self.assertTrue(cl is client)\n+            self.assertTrue(ur is uri)\n+            self.assertEqual(frozenset(kw.keys()), frozenset(['method', 'body', 'redirections', 'connection_type', 'headers']))\n+            self.assertEqual(kw['body'], body)\n+            self.assertEqual(kw['connection_type'], None)\n+            self.assertEqual(kw['method'], 'POST')\n+            self.assertEqual(kw['redirections'], httplib2.DEFAULT_MAX_REDIRECTS)","path":"tests/test_oauth.py","position":764,"original_position":764,"commit_id":"750be672483fc0dbd1b538e8f6f1b11ff92e6411","original_commit_id":"750be672483fc0dbd1b538e8f6f1b11ff92e6411","user":{"login":"betterdiff","id":11888905,"avatar_url":"https://avatars.githubusercontent.com/u/11888905?v=3","gravatar_id":"","url":"https://api.github.com/users/betterdiff","html_url":"https://github.com/betterdiff","followers_url":"https://api.github.com/users/betterdiff/followers","following_url":"https://api.github.com/users/betterdiff/following{/other_user}","gists_url":"https://api.github.com/users/betterdiff/gists{/gist_id}","starred_url":"https://api.github.com/users/betterdiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betterdiff/subscriptions","organizations_url":"https://api.github.com/users/betterdiff/orgs","repos_url":"https://api.github.com/users/betterdiff/repos","events_url":"https://api.github.com/users/betterdiff/events{/privacy}","received_events_url":"https://api.github.com/users/betterdiff/received_events","type":"User","site_admin":false},"body":"* E501 line too long (80 > 79 characters)\n","created_at":"2015-10-03T11:53:53Z","updated_at":"2015-10-03T11:53:53Z","html_url":"https://github.com/joestump/python-oauth2/pull/125#discussion_r41086368","pull_request_url":"https://api.github.com/repos/joestump/python-oauth2/pulls/125","_links":{"self":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/comments/41086368"},"html":{"href":"https://github.com/joestump/python-oauth2/pull/125#discussion_r41086368"},"pull_request":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/joestump/python-oauth2/pulls/125","id":3211873,"html_url":"https://github.com/joestump/python-oauth2/pull/125","diff_url":"https://github.com/joestump/python-oauth2/pull/125.diff","patch_url":"https://github.com/joestump/python-oauth2/pull/125.patch","issue_url":"https://api.github.com/repos/joestump/python-oauth2/issues/125","number":125,"state":"closed","locked":false,"title":"Python 3 support","user":{"login":"mitchellrj","id":147070,"avatar_url":"https://avatars.githubusercontent.com/u/147070?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellrj","html_url":"https://github.com/mitchellrj","followers_url":"https://api.github.com/users/mitchellrj/followers","following_url":"https://api.github.com/users/mitchellrj/following{/other_user}","gists_url":"https://api.github.com/users/mitchellrj/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellrj/subscriptions","organizations_url":"https://api.github.com/users/mitchellrj/orgs","repos_url":"https://api.github.com/users/mitchellrj/repos","events_url":"https://api.github.com/users/mitchellrj/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellrj/received_events","type":"User","site_admin":false},"body":"All tests passing on latest versions of Python 2.5, 2.6, 2.7 & 3.2.\n\nPython 2.4 tests fail, but were failing anyway. I'd advise the README is updated to reflect this.\n\nAlternate expectations in tests are purely due to Python 3's handling of unicode strings.","created_at":"2012-12-03T15:23:38Z","updated_at":"2015-10-03T11:53:53Z","closed_at":"2015-10-03T11:53:43Z","merged_at":null,"merge_commit_sha":"aca441f148fd5fc5176e3bdef64959694adc8b34","assignee":{"login":"jaitaiwan","id":674765,"avatar_url":"https://avatars.githubusercontent.com/u/674765?v=3","gravatar_id":"","url":"https://api.github.com/users/jaitaiwan","html_url":"https://github.com/jaitaiwan","followers_url":"https://api.github.com/users/jaitaiwan/followers","following_url":"https://api.github.com/users/jaitaiwan/following{/other_user}","gists_url":"https://api.github.com/users/jaitaiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/jaitaiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaitaiwan/subscriptions","organizations_url":"https://api.github.com/users/jaitaiwan/orgs","repos_url":"https://api.github.com/users/jaitaiwan/repos","events_url":"https://api.github.com/users/jaitaiwan/events{/privacy}","received_events_url":"https://api.github.com/users/jaitaiwan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/joestump/python-oauth2/pulls/125/commits","review_comments_url":"https://api.github.com/repos/joestump/python-oauth2/pulls/125/comments","review_comment_url":"https://api.github.com/repos/joestump/python-oauth2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joestump/python-oauth2/issues/125/comments","statuses_url":"https://api.github.com/repos/joestump/python-oauth2/statuses/750be672483fc0dbd1b538e8f6f1b11ff92e6411","head":{"label":"mitchellrj:py3k","ref":"py3k","sha":"750be672483fc0dbd1b538e8f6f1b11ff92e6411","user":{"login":"mitchellrj","id":147070,"avatar_url":"https://avatars.githubusercontent.com/u/147070?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellrj","html_url":"https://github.com/mitchellrj","followers_url":"https://api.github.com/users/mitchellrj/followers","following_url":"https://api.github.com/users/mitchellrj/following{/other_user}","gists_url":"https://api.github.com/users/mitchellrj/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellrj/subscriptions","organizations_url":"https://api.github.com/users/mitchellrj/orgs","repos_url":"https://api.github.com/users/mitchellrj/repos","events_url":"https://api.github.com/users/mitchellrj/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellrj/received_events","type":"User","site_admin":false},"repo":{"id":6982051,"name":"python-oauth2","full_name":"mitchellrj/python-oauth2","owner":{"login":"mitchellrj","id":147070,"avatar_url":"https://avatars.githubusercontent.com/u/147070?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellrj","html_url":"https://github.com/mitchellrj","followers_url":"https://api.github.com/users/mitchellrj/followers","following_url":"https://api.github.com/users/mitchellrj/following{/other_user}","gists_url":"https://api.github.com/users/mitchellrj/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellrj/subscriptions","organizations_url":"https://api.github.com/users/mitchellrj/orgs","repos_url":"https://api.github.com/users/mitchellrj/repos","events_url":"https://api.github.com/users/mitchellrj/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellrj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitchellrj/python-oauth2","description":"A fully tested, abstract interface to creating OAuth clients and servers.","fork":true,"url":"https://api.github.com/repos/mitchellrj/python-oauth2","forks_url":"https://api.github.com/repos/mitchellrj/python-oauth2/forks","keys_url":"https://api.github.com/repos/mitchellrj/python-oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitchellrj/python-oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitchellrj/python-oauth2/teams","hooks_url":"https://api.github.com/repos/mitchellrj/python-oauth2/hooks","issue_events_url":"https://api.github.com/repos/mitchellrj/python-oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/mitchellrj/python-oauth2/events","assignees_url":"https://api.github.com/repos/mitchellrj/python-oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/mitchellrj/python-oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/mitchellrj/python-oauth2/tags","blobs_url":"https://api.github.com/repos/mitchellrj/python-oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitchellrj/python-oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitchellrj/python-oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitchellrj/python-oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitchellrj/python-oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/mitchellrj/python-oauth2/languages","stargazers_url":"https://api.github.com/repos/mitchellrj/python-oauth2/stargazers","contributors_url":"https://api.github.com/repos/mitchellrj/python-oauth2/contributors","subscribers_url":"https://api.github.com/repos/mitchellrj/python-oauth2/subscribers","subscription_url":"https://api.github.com/repos/mitchellrj/python-oauth2/subscription","commits_url":"https://api.github.com/repos/mitchellrj/python-oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitchellrj/python-oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitchellrj/python-oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitchellrj/python-oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitchellrj/python-oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/mitchellrj/python-oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitchellrj/python-oauth2/merges","archive_url":"https://api.github.com/repos/mitchellrj/python-oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitchellrj/python-oauth2/downloads","issues_url":"https://api.github.com/repos/mitchellrj/python-oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/mitchellrj/python-oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/mitchellrj/python-oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/mitchellrj/python-oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitchellrj/python-oauth2/labels{/name}","releases_url":"https://api.github.com/repos/mitchellrj/python-oauth2/releases{/id}","created_at":"2012-12-03T12:39:11Z","updated_at":"2015-07-29T02:07:40Z","pushed_at":"2015-08-04T14:09:15Z","git_url":"git://github.com/mitchellrj/python-oauth2.git","ssh_url":"git@github.com:mitchellrj/python-oauth2.git","clone_url":"https://github.com/mitchellrj/python-oauth2.git","svn_url":"https://github.com/mitchellrj/python-oauth2","homepage":"","size":459,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"joestump:master","ref":"master","sha":"8d3774d03ed673ef6417e908b9940945c84bf3e4","user":{"login":"joestump","id":37667,"avatar_url":"https://avatars.githubusercontent.com/u/37667?v=3","gravatar_id":"","url":"https://api.github.com/users/joestump","html_url":"https://github.com/joestump","followers_url":"https://api.github.com/users/joestump/followers","following_url":"https://api.github.com/users/joestump/following{/other_user}","gists_url":"https://api.github.com/users/joestump/gists{/gist_id}","starred_url":"https://api.github.com/users/joestump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joestump/subscriptions","organizations_url":"https://api.github.com/users/joestump/orgs","repos_url":"https://api.github.com/users/joestump/repos","events_url":"https://api.github.com/users/joestump/events{/privacy}","received_events_url":"https://api.github.com/users/joestump/received_events","type":"User","site_admin":false},"repo":{"id":345048,"name":"python-oauth2","full_name":"joestump/python-oauth2","owner":{"login":"joestump","id":37667,"avatar_url":"https://avatars.githubusercontent.com/u/37667?v=3","gravatar_id":"","url":"https://api.github.com/users/joestump","html_url":"https://github.com/joestump","followers_url":"https://api.github.com/users/joestump/followers","following_url":"https://api.github.com/users/joestump/following{/other_user}","gists_url":"https://api.github.com/users/joestump/gists{/gist_id}","starred_url":"https://api.github.com/users/joestump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joestump/subscriptions","organizations_url":"https://api.github.com/users/joestump/orgs","repos_url":"https://api.github.com/users/joestump/repos","events_url":"https://api.github.com/users/joestump/events{/privacy}","received_events_url":"https://api.github.com/users/joestump/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joestump/python-oauth2","description":"A fully tested, abstract interface to creating OAuth clients and servers.","fork":false,"url":"https://api.github.com/repos/joestump/python-oauth2","forks_url":"https://api.github.com/repos/joestump/python-oauth2/forks","keys_url":"https://api.github.com/repos/joestump/python-oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joestump/python-oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joestump/python-oauth2/teams","hooks_url":"https://api.github.com/repos/joestump/python-oauth2/hooks","issue_events_url":"https://api.github.com/repos/joestump/python-oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/joestump/python-oauth2/events","assignees_url":"https://api.github.com/repos/joestump/python-oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/joestump/python-oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/joestump/python-oauth2/tags","blobs_url":"https://api.github.com/repos/joestump/python-oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joestump/python-oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joestump/python-oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/joestump/python-oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joestump/python-oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/joestump/python-oauth2/languages","stargazers_url":"https://api.github.com/repos/joestump/python-oauth2/stargazers","contributors_url":"https://api.github.com/repos/joestump/python-oauth2/contributors","subscribers_url":"https://api.github.com/repos/joestump/python-oauth2/subscribers","subscription_url":"https://api.github.com/repos/joestump/python-oauth2/subscription","commits_url":"https://api.github.com/repos/joestump/python-oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/joestump/python-oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/joestump/python-oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/joestump/python-oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/joestump/python-oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/joestump/python-oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joestump/python-oauth2/merges","archive_url":"https://api.github.com/repos/joestump/python-oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joestump/python-oauth2/downloads","issues_url":"https://api.github.com/repos/joestump/python-oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/joestump/python-oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/joestump/python-oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/joestump/python-oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joestump/python-oauth2/labels{/name}","releases_url":"https://api.github.com/repos/joestump/python-oauth2/releases{/id}","created_at":"2009-10-21T17:21:07Z","updated_at":"2015-10-03T06:03:46Z","pushed_at":"2015-10-03T11:49:26Z","git_url":"git://github.com/joestump/python-oauth2.git","ssh_url":"git@github.com:joestump/python-oauth2.git","clone_url":"https://github.com/joestump/python-oauth2.git","svn_url":"https://github.com/joestump/python-oauth2","homepage":"","size":2018,"stargazers_count":2284,"watchers_count":2284,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":912,"mirror_url":null,"open_issues_count":63,"forks":912,"open_issues":63,"watchers":2284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/125"},"html":{"href":"https://github.com/joestump/python-oauth2/pull/125"},"issue":{"href":"https://api.github.com/repos/joestump/python-oauth2/issues/125"},"comments":{"href":"https://api.github.com/repos/joestump/python-oauth2/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joestump/python-oauth2/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/joestump/python-oauth2/statuses/750be672483fc0dbd1b538e8f6f1b11ff92e6411"}}}}