{"action":"closed","number":2316,"pull_request":{"url":"https://api.github.com/repos/pytest-dev/pytest/pulls/2316","id":111199801,"html_url":"https://github.com/pytest-dev/pytest/pull/2316","diff_url":"https://github.com/pytest-dev/pytest/pull/2316.diff","patch_url":"https://github.com/pytest-dev/pytest/pull/2316.patch","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/2316","number":2316,"state":"closed","locked":false,"title":"Add __future__ imports to all pytest modules","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars1.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":"This prevents silly errors from creeping in Python 2 when testing in Python 3.\r\n\r\nNoticed this while working on the \"pytest warnings\" branch and things failed horribly on Python 2 because the module is named `warnings.py`. Thought about renaming it, but thought \"hey it's 2017 we shouldn't worry about this type of silly error anymore\". 😉 \r\n\r\nWhile at it:\r\n\r\n* Replaced all `py.builtin.print_` calls by native `print()` calls;\r\n* Noticed that our `CONTRIBUTION` could use an update and recommend testing with `py36`;","created_at":"2017-03-17T01:51:59Z","updated_at":"2017-03-17T12:41:47Z","closed_at":"2017-03-17T12:41:47Z","merged_at":"2017-03-17T12:41:47Z","merge_commit_sha":"a122ae85e9bc7cd494c505818dea4032c916ae1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytest-dev/pytest/pulls/2316/commits","review_comments_url":"https://api.github.com/repos/pytest-dev/pytest/pulls/2316/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/2316/comments","statuses_url":"https://api.github.com/repos/pytest-dev/pytest/statuses/4d947077bbed4862d4e0a055ce967ba490be96af","head":{"label":"nicoddemus:add-future-imports","ref":"add-future-imports","sha":"4d947077bbed4862d4e0a055ce967ba490be96af","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars1.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://avatars1.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}","deployments_url":"https://api.github.com/repos/nicoddemus/pytest/deployments","created_at":"2015-06-15T21:42:39Z","updated_at":"2016-10-26T00:24:02Z","pushed_at":"2017-03-17T02:07:09Z","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":9327,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"pytest-dev:features","ref":"features","sha":"5482dfe0f3cf313e69c83cdd21f661a8c05a64ac","user":{"login":"pytest-dev","id":8897583,"avatar_url":"https://avatars1.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://avatars1.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 framework 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}","deployments_url":"https://api.github.com/repos/pytest-dev/pytest/deployments","created_at":"2015-06-15T20:28:27Z","updated_at":"2017-03-17T11:34:12Z","pushed_at":"2017-03-17T12:41:47Z","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":9407,"stargazers_count":1263,"watchers_count":1263,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":327,"forks":337,"open_issues":327,"watchers":1263,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/2316"},"html":{"href":"https://github.com/pytest-dev/pytest/pull/2316"},"issue":{"href":"https://api.github.com/repos/pytest-dev/pytest/issues/2316"},"comments":{"href":"https://api.github.com/repos/pytest-dev/pytest/issues/2316/comments"},"review_comments":{"href":"https://api.github.com/repos/pytest-dev/pytest/pulls/2316/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/2316/commits"},"statuses":{"href":"https://api.github.com/repos/pytest-dev/pytest/statuses/4d947077bbed4862d4e0a055ce967ba490be96af"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RonnyPfannschmidt","id":156838,"avatar_url":"https://avatars2.githubusercontent.com/u/156838?v=3","gravatar_id":"","url":"https://api.github.com/users/RonnyPfannschmidt","html_url":"https://github.com/RonnyPfannschmidt","followers_url":"https://api.github.com/users/RonnyPfannschmidt/followers","following_url":"https://api.github.com/users/RonnyPfannschmidt/following{/other_user}","gists_url":"https://api.github.com/users/RonnyPfannschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/RonnyPfannschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonnyPfannschmidt/subscriptions","organizations_url":"https://api.github.com/users/RonnyPfannschmidt/orgs","repos_url":"https://api.github.com/users/RonnyPfannschmidt/repos","events_url":"https://api.github.com/users/RonnyPfannschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/RonnyPfannschmidt/received_events","type":"User","site_admin":false},"comments":2,"review_comments":6,"maintainer_can_modify":false,"commits":4,"additions":119,"deletions":47,"changed_files":74}}
{"actor":{"display_login":"RonnyPfannschmidt"}}