{"action":"created","comment":{"url":"https://api.github.com/repos/google/oauth2client/pulls/comments/33114677","id":33114677,"diff_hunk":"@@ -59,7 +59,7 @@ def test_sign_and_verify(self):\n     self._check_sign_and_verify('privatekey.%s' % self.format)\n \n   def test_sign_and_verify_from_converted_pkcs12(self):\n-    \"\"\"Tests that following instructions to convert from PKCS12 to PEM works.\"\"\"","path":"tests/test_jwt.py","position":4,"original_position":4,"commit_id":"3f08fa02629334c6b0805730504691c9fd0cc673","original_commit_id":"3f08fa02629334c6b0805730504691c9fd0cc673","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"body":"Couldn't find anything in a few minutes of searching. I'm pretty sure I've seen something before.\r\n\r\nClosest I got was the `unittest` docs for making the description ignore the docstring:\r\nhttps://docs.python.org/2/library/unittest.html#unittest.TestCase.shortDescription\r\n\r\nMaybe @tseaver has a quick reference","created_at":"2015-06-24T03:23:44Z","updated_at":"2015-06-24T03:23:44Z","html_url":"https://github.com/google/oauth2client/pull/203#discussion_r33114677","pull_request_url":"https://api.github.com/repos/google/oauth2client/pulls/203","_links":{"self":{"href":"https://api.github.com/repos/google/oauth2client/pulls/comments/33114677"},"html":{"href":"https://github.com/google/oauth2client/pull/203#discussion_r33114677"},"pull_request":{"href":"https://api.github.com/repos/google/oauth2client/pulls/203"}}},"pull_request":{"url":"https://api.github.com/repos/google/oauth2client/pulls/203","id":38400830,"html_url":"https://github.com/google/oauth2client/pull/203","diff_url":"https://github.com/google/oauth2client/pull/203.diff","patch_url":"https://github.com/google/oauth2client/pull/203.patch","issue_url":"https://api.github.com/repos/google/oauth2client/issues/203","number":203,"state":"open","locked":false,"title":"Casting message to bytes in PyCrypto verifier.","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"body":"Also\r\n- Removing bare `except:` statements in both the PyCrypto and\r\n  OpenSSL verifiers (in the `verify` method).\r\n- Catching the only exception possible in the OpenSSL verifier\r\n  (it is `OpenSSL.crypto.Error`).\r\n- Converting the signature to bytes (if not already) in the\r\n  OpenSSL verifier.\r\n- Adding a test with both a unicode and bytes signature for\r\n  each verifier.\r\n\r\nFixes #201.\r\n\r\n/cc @nathanielmanistaatgoogle ","created_at":"2015-06-24T01:52:42Z","updated_at":"2015-06-24T03:23:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13eb9f31e7cde001908293b2ab15fd0df85dea20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/oauth2client/pulls/203/commits","review_comments_url":"https://api.github.com/repos/google/oauth2client/pulls/203/comments","review_comment_url":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/oauth2client/issues/203/comments","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/3f08fa02629334c6b0805730504691c9fd0cc673","head":{"label":"dhermes:fix-201","ref":"fix-201","sha":"3f08fa02629334c6b0805730504691c9fd0cc673","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"repo":{"id":20973461,"name":"oauth2client","full_name":"dhermes/oauth2client","owner":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhermes/oauth2client","description":null,"fork":true,"url":"https://api.github.com/repos/dhermes/oauth2client","forks_url":"https://api.github.com/repos/dhermes/oauth2client/forks","keys_url":"https://api.github.com/repos/dhermes/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhermes/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhermes/oauth2client/teams","hooks_url":"https://api.github.com/repos/dhermes/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/dhermes/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/dhermes/oauth2client/events","assignees_url":"https://api.github.com/repos/dhermes/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/dhermes/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/dhermes/oauth2client/tags","blobs_url":"https://api.github.com/repos/dhermes/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhermes/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhermes/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhermes/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhermes/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/dhermes/oauth2client/languages","stargazers_url":"https://api.github.com/repos/dhermes/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/dhermes/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/dhermes/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/dhermes/oauth2client/subscription","commits_url":"https://api.github.com/repos/dhermes/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhermes/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhermes/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhermes/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhermes/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/dhermes/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhermes/oauth2client/merges","archive_url":"https://api.github.com/repos/dhermes/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhermes/oauth2client/downloads","issues_url":"https://api.github.com/repos/dhermes/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/dhermes/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/dhermes/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/dhermes/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhermes/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/dhermes/oauth2client/releases{/id}","created_at":"2014-06-18T18:34:02Z","updated_at":"2015-05-03T21:58:08Z","pushed_at":"2015-06-24T01:52:07Z","git_url":"git://github.com/dhermes/oauth2client.git","ssh_url":"git@github.com:dhermes/oauth2client.git","clone_url":"https://github.com/dhermes/oauth2client.git","svn_url":"https://github.com/dhermes/oauth2client","homepage":null,"size":19749,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"c5eb9f14d46d89fb33c4409a0d32fad4b919e136","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":14211461,"name":"oauth2client","full_name":"google/oauth2client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/oauth2client","description":"This is a python library for accessing resources protected by OAuth 2.0.","fork":false,"url":"https://api.github.com/repos/google/oauth2client","forks_url":"https://api.github.com/repos/google/oauth2client/forks","keys_url":"https://api.github.com/repos/google/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/oauth2client/teams","hooks_url":"https://api.github.com/repos/google/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/google/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/google/oauth2client/events","assignees_url":"https://api.github.com/repos/google/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/google/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/google/oauth2client/tags","blobs_url":"https://api.github.com/repos/google/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/oauth2client/languages","stargazers_url":"https://api.github.com/repos/google/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/google/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/google/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/google/oauth2client/subscription","commits_url":"https://api.github.com/repos/google/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/google/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/oauth2client/merges","archive_url":"https://api.github.com/repos/google/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/oauth2client/downloads","issues_url":"https://api.github.com/repos/google/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/google/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/google/oauth2client/releases{/id}","created_at":"2013-11-07T18:03:04Z","updated_at":"2015-06-22T18:43:07Z","pushed_at":"2015-06-24T01:52:43Z","git_url":"git://github.com/google/oauth2client.git","ssh_url":"git@github.com:google/oauth2client.git","clone_url":"https://github.com/google/oauth2client.git","svn_url":"https://github.com/google/oauth2client","homepage":"","size":24289,"stargazers_count":198,"watchers_count":198,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":100,"mirror_url":null,"open_issues_count":42,"forks":100,"open_issues":42,"watchers":198,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/oauth2client/pulls/203"},"html":{"href":"https://github.com/google/oauth2client/pull/203"},"issue":{"href":"https://api.github.com/repos/google/oauth2client/issues/203"},"comments":{"href":"https://api.github.com/repos/google/oauth2client/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/google/oauth2client/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/oauth2client/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/google/oauth2client/statuses/3f08fa02629334c6b0805730504691c9fd0cc673"}}}}