{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/dennyb87/pycity/pulls/4","id":48563165,"html_url":"https://github.com/dennyb87/pycity/pull/4","diff_url":"https://github.com/dennyb87/pycity/pull/4.diff","patch_url":"https://github.com/dennyb87/pycity/pull/4.patch","issue_url":"https://api.github.com/repos/dennyb87/pycity/issues/4","number":4,"state":"closed","locked":false,"title":"Added dev branch + Doctest system","user":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"body":"I encountered problems in simulating user input in doctest, so I decide to try this way.\r\nLet me know what do you think about this solution for implement the doctest system.\r\n","created_at":"2015-10-23T10:15:45Z","updated_at":"2015-10-27T10:44:46Z","closed_at":"2015-10-27T10:44:46Z","merged_at":"2015-10-27T10:44:46Z","merge_commit_sha":"5d541c50850e5ff2077a1969cc8b40eea537b78c","assignee":{"login":"matthieuchoplin","id":1380333,"avatar_url":"https://avatars.githubusercontent.com/u/1380333?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieuchoplin","html_url":"https://github.com/matthieuchoplin","followers_url":"https://api.github.com/users/matthieuchoplin/followers","following_url":"https://api.github.com/users/matthieuchoplin/following{/other_user}","gists_url":"https://api.github.com/users/matthieuchoplin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieuchoplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieuchoplin/subscriptions","organizations_url":"https://api.github.com/users/matthieuchoplin/orgs","repos_url":"https://api.github.com/users/matthieuchoplin/repos","events_url":"https://api.github.com/users/matthieuchoplin/events{/privacy}","received_events_url":"https://api.github.com/users/matthieuchoplin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dennyb87/pycity/pulls/4/commits","review_comments_url":"https://api.github.com/repos/dennyb87/pycity/pulls/4/comments","review_comment_url":"https://api.github.com/repos/dennyb87/pycity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dennyb87/pycity/issues/4/comments","statuses_url":"https://api.github.com/repos/dennyb87/pycity/statuses/ffc9723b26d512f9d8e8853919353799d727a2df","head":{"label":"dennyb87:dev","ref":"dev","sha":"ffc9723b26d512f9d8e8853919353799d727a2df","user":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"repo":{"id":44674962,"name":"pycity","full_name":"dennyb87/pycity","owner":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dennyb87/pycity","description":"Collection of exercises from the python course at City University London","fork":false,"url":"https://api.github.com/repos/dennyb87/pycity","forks_url":"https://api.github.com/repos/dennyb87/pycity/forks","keys_url":"https://api.github.com/repos/dennyb87/pycity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dennyb87/pycity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dennyb87/pycity/teams","hooks_url":"https://api.github.com/repos/dennyb87/pycity/hooks","issue_events_url":"https://api.github.com/repos/dennyb87/pycity/issues/events{/number}","events_url":"https://api.github.com/repos/dennyb87/pycity/events","assignees_url":"https://api.github.com/repos/dennyb87/pycity/assignees{/user}","branches_url":"https://api.github.com/repos/dennyb87/pycity/branches{/branch}","tags_url":"https://api.github.com/repos/dennyb87/pycity/tags","blobs_url":"https://api.github.com/repos/dennyb87/pycity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dennyb87/pycity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dennyb87/pycity/git/refs{/sha}","trees_url":"https://api.github.com/repos/dennyb87/pycity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dennyb87/pycity/statuses/{sha}","languages_url":"https://api.github.com/repos/dennyb87/pycity/languages","stargazers_url":"https://api.github.com/repos/dennyb87/pycity/stargazers","contributors_url":"https://api.github.com/repos/dennyb87/pycity/contributors","subscribers_url":"https://api.github.com/repos/dennyb87/pycity/subscribers","subscription_url":"https://api.github.com/repos/dennyb87/pycity/subscription","commits_url":"https://api.github.com/repos/dennyb87/pycity/commits{/sha}","git_commits_url":"https://api.github.com/repos/dennyb87/pycity/git/commits{/sha}","comments_url":"https://api.github.com/repos/dennyb87/pycity/comments{/number}","issue_comment_url":"https://api.github.com/repos/dennyb87/pycity/issues/comments{/number}","contents_url":"https://api.github.com/repos/dennyb87/pycity/contents/{+path}","compare_url":"https://api.github.com/repos/dennyb87/pycity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dennyb87/pycity/merges","archive_url":"https://api.github.com/repos/dennyb87/pycity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dennyb87/pycity/downloads","issues_url":"https://api.github.com/repos/dennyb87/pycity/issues{/number}","pulls_url":"https://api.github.com/repos/dennyb87/pycity/pulls{/number}","milestones_url":"https://api.github.com/repos/dennyb87/pycity/milestones{/number}","notifications_url":"https://api.github.com/repos/dennyb87/pycity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dennyb87/pycity/labels{/name}","releases_url":"https://api.github.com/repos/dennyb87/pycity/releases{/id}","created_at":"2015-10-21T12:35:40Z","updated_at":"2015-10-23T15:52:07Z","pushed_at":"2015-10-27T10:44:46Z","git_url":"git://github.com/dennyb87/pycity.git","ssh_url":"git@github.com:dennyb87/pycity.git","clone_url":"https://github.com/dennyb87/pycity.git","svn_url":"https://github.com/dennyb87/pycity","homepage":null,"size":0,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"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":2,"default_branch":"master"}},"base":{"label":"dennyb87:master","ref":"master","sha":"12aea248929fdf6247e345eedb6d454c05b3cf11","user":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"repo":{"id":44674962,"name":"pycity","full_name":"dennyb87/pycity","owner":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dennyb87/pycity","description":"Collection of exercises from the python course at City University London","fork":false,"url":"https://api.github.com/repos/dennyb87/pycity","forks_url":"https://api.github.com/repos/dennyb87/pycity/forks","keys_url":"https://api.github.com/repos/dennyb87/pycity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dennyb87/pycity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dennyb87/pycity/teams","hooks_url":"https://api.github.com/repos/dennyb87/pycity/hooks","issue_events_url":"https://api.github.com/repos/dennyb87/pycity/issues/events{/number}","events_url":"https://api.github.com/repos/dennyb87/pycity/events","assignees_url":"https://api.github.com/repos/dennyb87/pycity/assignees{/user}","branches_url":"https://api.github.com/repos/dennyb87/pycity/branches{/branch}","tags_url":"https://api.github.com/repos/dennyb87/pycity/tags","blobs_url":"https://api.github.com/repos/dennyb87/pycity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dennyb87/pycity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dennyb87/pycity/git/refs{/sha}","trees_url":"https://api.github.com/repos/dennyb87/pycity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dennyb87/pycity/statuses/{sha}","languages_url":"https://api.github.com/repos/dennyb87/pycity/languages","stargazers_url":"https://api.github.com/repos/dennyb87/pycity/stargazers","contributors_url":"https://api.github.com/repos/dennyb87/pycity/contributors","subscribers_url":"https://api.github.com/repos/dennyb87/pycity/subscribers","subscription_url":"https://api.github.com/repos/dennyb87/pycity/subscription","commits_url":"https://api.github.com/repos/dennyb87/pycity/commits{/sha}","git_commits_url":"https://api.github.com/repos/dennyb87/pycity/git/commits{/sha}","comments_url":"https://api.github.com/repos/dennyb87/pycity/comments{/number}","issue_comment_url":"https://api.github.com/repos/dennyb87/pycity/issues/comments{/number}","contents_url":"https://api.github.com/repos/dennyb87/pycity/contents/{+path}","compare_url":"https://api.github.com/repos/dennyb87/pycity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dennyb87/pycity/merges","archive_url":"https://api.github.com/repos/dennyb87/pycity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dennyb87/pycity/downloads","issues_url":"https://api.github.com/repos/dennyb87/pycity/issues{/number}","pulls_url":"https://api.github.com/repos/dennyb87/pycity/pulls{/number}","milestones_url":"https://api.github.com/repos/dennyb87/pycity/milestones{/number}","notifications_url":"https://api.github.com/repos/dennyb87/pycity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dennyb87/pycity/labels{/name}","releases_url":"https://api.github.com/repos/dennyb87/pycity/releases{/id}","created_at":"2015-10-21T12:35:40Z","updated_at":"2015-10-23T15:52:07Z","pushed_at":"2015-10-27T10:44:46Z","git_url":"git://github.com/dennyb87/pycity.git","ssh_url":"git@github.com:dennyb87/pycity.git","clone_url":"https://github.com/dennyb87/pycity.git","svn_url":"https://github.com/dennyb87/pycity","homepage":null,"size":0,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dennyb87/pycity/pulls/4"},"html":{"href":"https://github.com/dennyb87/pycity/pull/4"},"issue":{"href":"https://api.github.com/repos/dennyb87/pycity/issues/4"},"comments":{"href":"https://api.github.com/repos/dennyb87/pycity/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/dennyb87/pycity/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/dennyb87/pycity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dennyb87/pycity/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/dennyb87/pycity/statuses/ffc9723b26d512f9d8e8853919353799d727a2df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dennyb87","id":7195133,"avatar_url":"https://avatars.githubusercontent.com/u/7195133?v=3","gravatar_id":"","url":"https://api.github.com/users/dennyb87","html_url":"https://github.com/dennyb87","followers_url":"https://api.github.com/users/dennyb87/followers","following_url":"https://api.github.com/users/dennyb87/following{/other_user}","gists_url":"https://api.github.com/users/dennyb87/gists{/gist_id}","starred_url":"https://api.github.com/users/dennyb87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennyb87/subscriptions","organizations_url":"https://api.github.com/users/dennyb87/orgs","repos_url":"https://api.github.com/users/dennyb87/repos","events_url":"https://api.github.com/users/dennyb87/events{/privacy}","received_events_url":"https://api.github.com/users/dennyb87/received_events","type":"User","site_admin":false},"comments":0,"review_comments":10,"commits":9,"additions":153,"deletions":24,"changed_files":5}}