{"action":"created","comment":{"url":"https://api.github.com/repos/cms-dev/cms/pulls/comments/166040740","pull_request_review_id":94066986,"id":166040740,"diff_hunk":"@@ -22,10 +22,16 @@\n \"\"\"\n \n from __future__ import absolute_import\n+from __future__ import division\n from __future__ import print_function\n from __future__ import unicode_literals\n+from future.builtins.disabled import *\n+from future.builtins import *\n \n-import StringIO\n+try:\n+    from BytesIO import BytesIO\n+except ImportError:\n+    from io import BytesIO","path":"cmstestsuite/unit_tests/grading/__init__.py","position":null,"original_position":14,"commit_id":"62becdb3e4ea71448f93f77259375f789dea469e","original_commit_id":"62becdb3e4ea71448f93f77259375f789dea469e","user":{"login":"stefano-maggiolo","id":485490,"avatar_url":"https://avatars2.githubusercontent.com/u/485490?v=4","gravatar_id":"","url":"https://api.github.com/users/stefano-maggiolo","html_url":"https://github.com/stefano-maggiolo","followers_url":"https://api.github.com/users/stefano-maggiolo/followers","following_url":"https://api.github.com/users/stefano-maggiolo/following{/other_user}","gists_url":"https://api.github.com/users/stefano-maggiolo/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-maggiolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-maggiolo/subscriptions","organizations_url":"https://api.github.com/users/stefano-maggiolo/orgs","repos_url":"https://api.github.com/users/stefano-maggiolo/repos","events_url":"https://api.github.com/users/stefano-maggiolo/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-maggiolo/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-02-05T17:07:57Z","updated_at":"2018-02-05T17:07:57Z","html_url":"https://github.com/cms-dev/cms/pull/830#discussion_r166040740","pull_request_url":"https://api.github.com/repos/cms-dev/cms/pulls/830","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/comments/166040740"},"html":{"href":"https://github.com/cms-dev/cms/pull/830#discussion_r166040740"},"pull_request":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/830"}},"in_reply_to_id":166003434},"pull_request":{"url":"https://api.github.com/repos/cms-dev/cms/pulls/830","id":167029786,"html_url":"https://github.com/cms-dev/cms/pull/830","diff_url":"https://github.com/cms-dev/cms/pull/830.diff","patch_url":"https://github.com/cms-dev/cms/pull/830.patch","issue_url":"https://api.github.com/repos/cms-dev/cms/issues/830","number":830,"state":"open","locked":false,"title":"Add tests for some grading/ functions, and better docs for white-diff","user":{"login":"stefano-maggiolo","id":485490,"avatar_url":"https://avatars2.githubusercontent.com/u/485490?v=4","gravatar_id":"","url":"https://api.github.com/users/stefano-maggiolo","html_url":"https://github.com/stefano-maggiolo","followers_url":"https://api.github.com/users/stefano-maggiolo/followers","following_url":"https://api.github.com/users/stefano-maggiolo/following{/other_user}","gists_url":"https://api.github.com/users/stefano-maggiolo/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-maggiolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-maggiolo/subscriptions","organizations_url":"https://api.github.com/users/stefano-maggiolo/orgs","repos_url":"https://api.github.com/users/stefano-maggiolo/repos","events_url":"https://api.github.com/users/stefano-maggiolo/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-maggiolo/received_events","type":"User","site_admin":false},"body":"\n\n<!-- Reviewable:start -->\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/cms-dev/cms/830)\n<!-- Reviewable:end -->\n","created_at":"2018-02-04T21:03:57Z","updated_at":"2018-02-05T17:07:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e46baf30d89ee80d37c7949563a0bc9b3fb10cb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/cms-dev/cms/pulls/830/commits","review_comments_url":"https://api.github.com/repos/cms-dev/cms/pulls/830/comments","review_comment_url":"https://api.github.com/repos/cms-dev/cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cms-dev/cms/issues/830/comments","statuses_url":"https://api.github.com/repos/cms-dev/cms/statuses/62becdb3e4ea71448f93f77259375f789dea469e","head":{"label":"stefano-maggiolo:test_grading","ref":"test_grading","sha":"62becdb3e4ea71448f93f77259375f789dea469e","user":{"login":"stefano-maggiolo","id":485490,"avatar_url":"https://avatars2.githubusercontent.com/u/485490?v=4","gravatar_id":"","url":"https://api.github.com/users/stefano-maggiolo","html_url":"https://github.com/stefano-maggiolo","followers_url":"https://api.github.com/users/stefano-maggiolo/followers","following_url":"https://api.github.com/users/stefano-maggiolo/following{/other_user}","gists_url":"https://api.github.com/users/stefano-maggiolo/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-maggiolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-maggiolo/subscriptions","organizations_url":"https://api.github.com/users/stefano-maggiolo/orgs","repos_url":"https://api.github.com/users/stefano-maggiolo/repos","events_url":"https://api.github.com/users/stefano-maggiolo/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-maggiolo/received_events","type":"User","site_admin":false},"repo":{"id":6205668,"name":"cms","full_name":"stefano-maggiolo/cms","owner":{"login":"stefano-maggiolo","id":485490,"avatar_url":"https://avatars2.githubusercontent.com/u/485490?v=4","gravatar_id":"","url":"https://api.github.com/users/stefano-maggiolo","html_url":"https://github.com/stefano-maggiolo","followers_url":"https://api.github.com/users/stefano-maggiolo/followers","following_url":"https://api.github.com/users/stefano-maggiolo/following{/other_user}","gists_url":"https://api.github.com/users/stefano-maggiolo/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-maggiolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-maggiolo/subscriptions","organizations_url":"https://api.github.com/users/stefano-maggiolo/orgs","repos_url":"https://api.github.com/users/stefano-maggiolo/repos","events_url":"https://api.github.com/users/stefano-maggiolo/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-maggiolo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefano-maggiolo/cms","description":"Contest Management System","fork":true,"url":"https://api.github.com/repos/stefano-maggiolo/cms","forks_url":"https://api.github.com/repos/stefano-maggiolo/cms/forks","keys_url":"https://api.github.com/repos/stefano-maggiolo/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefano-maggiolo/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefano-maggiolo/cms/teams","hooks_url":"https://api.github.com/repos/stefano-maggiolo/cms/hooks","issue_events_url":"https://api.github.com/repos/stefano-maggiolo/cms/issues/events{/number}","events_url":"https://api.github.com/repos/stefano-maggiolo/cms/events","assignees_url":"https://api.github.com/repos/stefano-maggiolo/cms/assignees{/user}","branches_url":"https://api.github.com/repos/stefano-maggiolo/cms/branches{/branch}","tags_url":"https://api.github.com/repos/stefano-maggiolo/cms/tags","blobs_url":"https://api.github.com/repos/stefano-maggiolo/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefano-maggiolo/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefano-maggiolo/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefano-maggiolo/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefano-maggiolo/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/stefano-maggiolo/cms/languages","stargazers_url":"https://api.github.com/repos/stefano-maggiolo/cms/stargazers","contributors_url":"https://api.github.com/repos/stefano-maggiolo/cms/contributors","subscribers_url":"https://api.github.com/repos/stefano-maggiolo/cms/subscribers","subscription_url":"https://api.github.com/repos/stefano-maggiolo/cms/subscription","commits_url":"https://api.github.com/repos/stefano-maggiolo/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefano-maggiolo/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefano-maggiolo/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefano-maggiolo/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefano-maggiolo/cms/contents/{+path}","compare_url":"https://api.github.com/repos/stefano-maggiolo/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefano-maggiolo/cms/merges","archive_url":"https://api.github.com/repos/stefano-maggiolo/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefano-maggiolo/cms/downloads","issues_url":"https://api.github.com/repos/stefano-maggiolo/cms/issues{/number}","pulls_url":"https://api.github.com/repos/stefano-maggiolo/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/stefano-maggiolo/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/stefano-maggiolo/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefano-maggiolo/cms/labels{/name}","releases_url":"https://api.github.com/repos/stefano-maggiolo/cms/releases{/id}","deployments_url":"https://api.github.com/repos/stefano-maggiolo/cms/deployments","created_at":"2012-10-13T17:51:32Z","updated_at":"2015-04-29T23:38:43Z","pushed_at":"2018-02-05T17:04:10Z","git_url":"git://github.com/stefano-maggiolo/cms.git","ssh_url":"git@github.com:stefano-maggiolo/cms.git","clone_url":"https://github.com/stefano-maggiolo/cms.git","svn_url":"https://github.com/stefano-maggiolo/cms","homepage":"","size":14675,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"cms-dev:master","ref":"master","sha":"37cadc6f135f8fb522770bb8b01630e7348ba347","user":{"login":"cms-dev","id":1671612,"avatar_url":"https://avatars0.githubusercontent.com/u/1671612?v=4","gravatar_id":"","url":"https://api.github.com/users/cms-dev","html_url":"https://github.com/cms-dev","followers_url":"https://api.github.com/users/cms-dev/followers","following_url":"https://api.github.com/users/cms-dev/following{/other_user}","gists_url":"https://api.github.com/users/cms-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-dev/subscriptions","organizations_url":"https://api.github.com/users/cms-dev/orgs","repos_url":"https://api.github.com/users/cms-dev/repos","events_url":"https://api.github.com/users/cms-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cms-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":2504741,"name":"cms","full_name":"cms-dev/cms","owner":{"login":"cms-dev","id":1671612,"avatar_url":"https://avatars0.githubusercontent.com/u/1671612?v=4","gravatar_id":"","url":"https://api.github.com/users/cms-dev","html_url":"https://github.com/cms-dev","followers_url":"https://api.github.com/users/cms-dev/followers","following_url":"https://api.github.com/users/cms-dev/following{/other_user}","gists_url":"https://api.github.com/users/cms-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-dev/subscriptions","organizations_url":"https://api.github.com/users/cms-dev/orgs","repos_url":"https://api.github.com/users/cms-dev/repos","events_url":"https://api.github.com/users/cms-dev/events{/privacy}","received_events_url":"https://api.github.com/users/cms-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cms-dev/cms","description":"Contest Management System","fork":false,"url":"https://api.github.com/repos/cms-dev/cms","forks_url":"https://api.github.com/repos/cms-dev/cms/forks","keys_url":"https://api.github.com/repos/cms-dev/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cms-dev/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cms-dev/cms/teams","hooks_url":"https://api.github.com/repos/cms-dev/cms/hooks","issue_events_url":"https://api.github.com/repos/cms-dev/cms/issues/events{/number}","events_url":"https://api.github.com/repos/cms-dev/cms/events","assignees_url":"https://api.github.com/repos/cms-dev/cms/assignees{/user}","branches_url":"https://api.github.com/repos/cms-dev/cms/branches{/branch}","tags_url":"https://api.github.com/repos/cms-dev/cms/tags","blobs_url":"https://api.github.com/repos/cms-dev/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cms-dev/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cms-dev/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/cms-dev/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cms-dev/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/cms-dev/cms/languages","stargazers_url":"https://api.github.com/repos/cms-dev/cms/stargazers","contributors_url":"https://api.github.com/repos/cms-dev/cms/contributors","subscribers_url":"https://api.github.com/repos/cms-dev/cms/subscribers","subscription_url":"https://api.github.com/repos/cms-dev/cms/subscription","commits_url":"https://api.github.com/repos/cms-dev/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/cms-dev/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/cms-dev/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/cms-dev/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/cms-dev/cms/contents/{+path}","compare_url":"https://api.github.com/repos/cms-dev/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cms-dev/cms/merges","archive_url":"https://api.github.com/repos/cms-dev/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cms-dev/cms/downloads","issues_url":"https://api.github.com/repos/cms-dev/cms/issues{/number}","pulls_url":"https://api.github.com/repos/cms-dev/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/cms-dev/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/cms-dev/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cms-dev/cms/labels{/name}","releases_url":"https://api.github.com/repos/cms-dev/cms/releases{/id}","deployments_url":"https://api.github.com/repos/cms-dev/cms/deployments","created_at":"2011-10-03T13:37:02Z","updated_at":"2018-01-30T02:49:48Z","pushed_at":"2018-02-05T16:59:31Z","git_url":"git://github.com/cms-dev/cms.git","ssh_url":"git@github.com:cms-dev/cms.git","clone_url":"https://github.com/cms-dev/cms.git","svn_url":"https://github.com/cms-dev/cms","homepage":"http://cms-dev.github.io/","size":15274,"stargazers_count":370,"watchers_count":370,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":211,"mirror_url":null,"archived":false,"open_issues_count":135,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":211,"open_issues":135,"watchers":370,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/830"},"html":{"href":"https://github.com/cms-dev/cms/pull/830"},"issue":{"href":"https://api.github.com/repos/cms-dev/cms/issues/830"},"comments":{"href":"https://api.github.com/repos/cms-dev/cms/issues/830/comments"},"review_comments":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/830/comments"},"review_comment":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cms-dev/cms/pulls/830/commits"},"statuses":{"href":"https://api.github.com/repos/cms-dev/cms/statuses/62becdb3e4ea71448f93f77259375f789dea469e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"stefano-maggiolo"}}