{"action":"opened","number":978,"pull_request":{"url":"https://api.github.com/repos/pytest-dev/pytest/pulls/978","id":43585002,"html_url":"https://github.com/pytest-dev/pytest/pull/978","diff_url":"https://github.com/pytest-dev/pytest/pull/978.diff","patch_url":"https://github.com/pytest-dev/pytest/pull/978.patch","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/978","number":978,"state":"open","locked":false,"title":"Show a few diff lines when truncating string diffs","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"body":"Fix #934\r\n\r\ncc @RonnyPfannschmidt ","created_at":"2015-08-28T01:22:01Z","updated_at":"2015-08-28T01:22:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pytest-dev/pytest/pulls/978/commits","review_comments_url":"https://api.github.com/repos/pytest-dev/pytest/pulls/978/comments","review_comment_url":"https://api.github.com/repos/pytest-dev/pytest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/978/comments","statuses_url":"https://api.github.com/repos/pytest-dev/pytest/statuses/dd7112d5ea4b610fd6bde215d85b76b46f29e252","head":{"label":"nicoddemus:string-diff","ref":"string-diff","sha":"dd7112d5ea4b610fd6bde215d85b76b46f29e252","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"repo":{"id":37492961,"name":"pytest","full_name":"nicoddemus/pytest","owner":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicoddemus/pytest","description":"The pytest testing tool makes it easy to write small tests, yet scales to support complex functional testing","fork":true,"url":"https://api.github.com/repos/nicoddemus/pytest","forks_url":"https://api.github.com/repos/nicoddemus/pytest/forks","keys_url":"https://api.github.com/repos/nicoddemus/pytest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicoddemus/pytest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicoddemus/pytest/teams","hooks_url":"https://api.github.com/repos/nicoddemus/pytest/hooks","issue_events_url":"https://api.github.com/repos/nicoddemus/pytest/issues/events{/number}","events_url":"https://api.github.com/repos/nicoddemus/pytest/events","assignees_url":"https://api.github.com/repos/nicoddemus/pytest/assignees{/user}","branches_url":"https://api.github.com/repos/nicoddemus/pytest/branches{/branch}","tags_url":"https://api.github.com/repos/nicoddemus/pytest/tags","blobs_url":"https://api.github.com/repos/nicoddemus/pytest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicoddemus/pytest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicoddemus/pytest/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicoddemus/pytest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicoddemus/pytest/statuses/{sha}","languages_url":"https://api.github.com/repos/nicoddemus/pytest/languages","stargazers_url":"https://api.github.com/repos/nicoddemus/pytest/stargazers","contributors_url":"https://api.github.com/repos/nicoddemus/pytest/contributors","subscribers_url":"https://api.github.com/repos/nicoddemus/pytest/subscribers","subscription_url":"https://api.github.com/repos/nicoddemus/pytest/subscription","commits_url":"https://api.github.com/repos/nicoddemus/pytest/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicoddemus/pytest/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicoddemus/pytest/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicoddemus/pytest/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicoddemus/pytest/contents/{+path}","compare_url":"https://api.github.com/repos/nicoddemus/pytest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicoddemus/pytest/merges","archive_url":"https://api.github.com/repos/nicoddemus/pytest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicoddemus/pytest/downloads","issues_url":"https://api.github.com/repos/nicoddemus/pytest/issues{/number}","pulls_url":"https://api.github.com/repos/nicoddemus/pytest/pulls{/number}","milestones_url":"https://api.github.com/repos/nicoddemus/pytest/milestones{/number}","notifications_url":"https://api.github.com/repos/nicoddemus/pytest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicoddemus/pytest/labels{/name}","releases_url":"https://api.github.com/repos/nicoddemus/pytest/releases{/id}","created_at":"2015-06-15T21:42:39Z","updated_at":"2015-06-15T21:42:43Z","pushed_at":"2015-08-28T01:21:24Z","git_url":"git://github.com/nicoddemus/pytest.git","ssh_url":"git@github.com:nicoddemus/pytest.git","clone_url":"https://github.com/nicoddemus/pytest.git","svn_url":"https://github.com/nicoddemus/pytest","homepage":"http://pytest.org/","size":6528,"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":"pytest-dev:master","ref":"master","sha":"06b1b69fb75e877976e79361fb259ed23e4d6f2d","user":{"login":"pytest-dev","id":8897583,"avatar_url":"https://avatars.githubusercontent.com/u/8897583?v=3","gravatar_id":"","url":"https://api.github.com/users/pytest-dev","html_url":"https://github.com/pytest-dev","followers_url":"https://api.github.com/users/pytest-dev/followers","following_url":"https://api.github.com/users/pytest-dev/following{/other_user}","gists_url":"https://api.github.com/users/pytest-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/pytest-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytest-dev/subscriptions","organizations_url":"https://api.github.com/users/pytest-dev/orgs","repos_url":"https://api.github.com/users/pytest-dev/repos","events_url":"https://api.github.com/users/pytest-dev/events{/privacy}","received_events_url":"https://api.github.com/users/pytest-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":37489525,"name":"pytest","full_name":"pytest-dev/pytest","owner":{"login":"pytest-dev","id":8897583,"avatar_url":"https://avatars.githubusercontent.com/u/8897583?v=3","gravatar_id":"","url":"https://api.github.com/users/pytest-dev","html_url":"https://github.com/pytest-dev","followers_url":"https://api.github.com/users/pytest-dev/followers","following_url":"https://api.github.com/users/pytest-dev/following{/other_user}","gists_url":"https://api.github.com/users/pytest-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/pytest-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytest-dev/subscriptions","organizations_url":"https://api.github.com/users/pytest-dev/orgs","repos_url":"https://api.github.com/users/pytest-dev/repos","events_url":"https://api.github.com/users/pytest-dev/events{/privacy}","received_events_url":"https://api.github.com/users/pytest-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytest-dev/pytest","description":"The pytest testing tool makes it easy to write small tests, yet scales to support complex functional testing","fork":false,"url":"https://api.github.com/repos/pytest-dev/pytest","forks_url":"https://api.github.com/repos/pytest-dev/pytest/forks","keys_url":"https://api.github.com/repos/pytest-dev/pytest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytest-dev/pytest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytest-dev/pytest/teams","hooks_url":"https://api.github.com/repos/pytest-dev/pytest/hooks","issue_events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/events{/number}","events_url":"https://api.github.com/repos/pytest-dev/pytest/events","assignees_url":"https://api.github.com/repos/pytest-dev/pytest/assignees{/user}","branches_url":"https://api.github.com/repos/pytest-dev/pytest/branches{/branch}","tags_url":"https://api.github.com/repos/pytest-dev/pytest/tags","blobs_url":"https://api.github.com/repos/pytest-dev/pytest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytest-dev/pytest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytest-dev/pytest/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytest-dev/pytest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytest-dev/pytest/statuses/{sha}","languages_url":"https://api.github.com/repos/pytest-dev/pytest/languages","stargazers_url":"https://api.github.com/repos/pytest-dev/pytest/stargazers","contributors_url":"https://api.github.com/repos/pytest-dev/pytest/contributors","subscribers_url":"https://api.github.com/repos/pytest-dev/pytest/subscribers","subscription_url":"https://api.github.com/repos/pytest-dev/pytest/subscription","commits_url":"https://api.github.com/repos/pytest-dev/pytest/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytest-dev/pytest/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytest-dev/pytest/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytest-dev/pytest/contents/{+path}","compare_url":"https://api.github.com/repos/pytest-dev/pytest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytest-dev/pytest/merges","archive_url":"https://api.github.com/repos/pytest-dev/pytest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytest-dev/pytest/downloads","issues_url":"https://api.github.com/repos/pytest-dev/pytest/issues{/number}","pulls_url":"https://api.github.com/repos/pytest-dev/pytest/pulls{/number}","milestones_url":"https://api.github.com/repos/pytest-dev/pytest/milestones{/number}","notifications_url":"https://api.github.com/repos/pytest-dev/pytest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytest-dev/pytest/labels{/name}","releases_url":"https://api.github.com/repos/pytest-dev/pytest/releases{/id}","created_at":"2015-06-15T20:28:27Z","updated_at":"2015-08-27T17:27:16Z","pushed_at":"2015-08-27T23:12:22Z","git_url":"git://github.com/pytest-dev/pytest.git","ssh_url":"git@github.com:pytest-dev/pytest.git","clone_url":"https://github.com/pytest-dev/pytest.git","svn_url":"https://github.com/pytest-dev/pytest","homepage":"http://pytest.org/","size":7771,"stargazers_count":281,"watchers_count":281,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":270,"forks":54,"open_issues":270,"watchers":281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/978"},"html":{"href":"https://github.com/pytest-dev/pytest/pull/978"},"issue":{"href":"https://api.github.com/repos/pytest-dev/pytest/issues/978"},"comments":{"href":"https://api.github.com/repos/pytest-dev/pytest/issues/978/comments"},"review_comments":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/978/comments"},"review_comment":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/978/commits"},"statuses":{"href":"https://api.github.com/repos/pytest-dev/pytest/statuses/dd7112d5ea4b610fd6bde215d85b76b46f29e252"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":5,"changed_files":3}}