{"action":"closed","number":1123,"pull_request":{"url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123","id":169862953,"html_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/1123","diff_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/1123.diff","patch_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/1123.patch","issue_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/1123","number":1123,"state":"closed","locked":false,"title":"don't default to xdist -n2 for pytest","user":{"login":"dchudz","id":1222726,"avatar_url":"https://avatars0.githubusercontent.com/u/1222726?v=4","gravatar_id":"","url":"https://api.github.com/users/dchudz","html_url":"https://github.com/dchudz","followers_url":"https://api.github.com/users/dchudz/followers","following_url":"https://api.github.com/users/dchudz/following{/other_user}","gists_url":"https://api.github.com/users/dchudz/gists{/gist_id}","starred_url":"https://api.github.com/users/dchudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchudz/subscriptions","organizations_url":"https://api.github.com/users/dchudz/orgs","repos_url":"https://api.github.com/users/dchudz/repos","events_url":"https://api.github.com/users/dchudz/events{/privacy}","received_events_url":"https://api.github.com/users/dchudz/received_events","type":"User","site_admin":false},"body":"`-n2` is a frustrating default for humans because (among other reasons) `xdist` doesn't play well with no-capture, so e.g. running a test like `HYPOTHESIS_VERBOSITY_LEVEL=debug pytest tests/quality/test_shrink_quality.py -k test_minimize_multiple_elements_in_silly_large_int_range -s` (as suggested in the \"Playing Around\" section of our internals guide.  We thought about changing the guide, but really [we'd rather change the default](https://github.com/HypothesisWorks/hypothesis-python/pull/1122#issuecomment-366520742).\r\n\r\nThis change:\r\n\r\n- removes `-n2` from the `[pytest]` section of our `tox.ini` \r\n- adds `-n2` back as an argument to `pytest` in a bunch of places\r\n\r\nAlternatives ~~considered~~ attempted:\r\n\r\n- tried to use PYTEST_ADDOPTS in the tox environment, but this had some [bad consequences](https://github.com/HypothesisWorks/hypothesis-python/pull/1123#issuecomment-366835752) and working around them was bad\r\n\r\nReplaces https://github.com/HypothesisWorks/hypothesis-python/pull/1122.","created_at":"2018-02-19T01:20:57Z","updated_at":"2018-02-23T15:49:27Z","closed_at":"2018-02-23T15:49:27Z","merged_at":"2018-02-23T15:49:27Z","merge_commit_sha":"e14cf46824c523e5fce93d8e08b7518dc85d1a18","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123/commits","review_comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123/comments","review_comment_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/1123/comments","statuses_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/6cbad6e1cc1648c4f2e3fa5bf0e32a5a56d0d4ab","head":{"label":"dchudz:pytest-no-default-to-xdist","ref":"pytest-no-default-to-xdist","sha":"6cbad6e1cc1648c4f2e3fa5bf0e32a5a56d0d4ab","user":{"login":"dchudz","id":1222726,"avatar_url":"https://avatars0.githubusercontent.com/u/1222726?v=4","gravatar_id":"","url":"https://api.github.com/users/dchudz","html_url":"https://github.com/dchudz","followers_url":"https://api.github.com/users/dchudz/followers","following_url":"https://api.github.com/users/dchudz/following{/other_user}","gists_url":"https://api.github.com/users/dchudz/gists{/gist_id}","starred_url":"https://api.github.com/users/dchudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchudz/subscriptions","organizations_url":"https://api.github.com/users/dchudz/orgs","repos_url":"https://api.github.com/users/dchudz/repos","events_url":"https://api.github.com/users/dchudz/events{/privacy}","received_events_url":"https://api.github.com/users/dchudz/received_events","type":"User","site_admin":false},"repo":{"id":121194738,"name":"hypothesis-python","full_name":"dchudz/hypothesis-python","owner":{"login":"dchudz","id":1222726,"avatar_url":"https://avatars0.githubusercontent.com/u/1222726?v=4","gravatar_id":"","url":"https://api.github.com/users/dchudz","html_url":"https://github.com/dchudz","followers_url":"https://api.github.com/users/dchudz/followers","following_url":"https://api.github.com/users/dchudz/following{/other_user}","gists_url":"https://api.github.com/users/dchudz/gists{/gist_id}","starred_url":"https://api.github.com/users/dchudz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchudz/subscriptions","organizations_url":"https://api.github.com/users/dchudz/orgs","repos_url":"https://api.github.com/users/dchudz/repos","events_url":"https://api.github.com/users/dchudz/events{/privacy}","received_events_url":"https://api.github.com/users/dchudz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dchudz/hypothesis-python","description":"Advanced property-based (QuickCheck-like) testing for Python","fork":true,"url":"https://api.github.com/repos/dchudz/hypothesis-python","forks_url":"https://api.github.com/repos/dchudz/hypothesis-python/forks","keys_url":"https://api.github.com/repos/dchudz/hypothesis-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchudz/hypothesis-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchudz/hypothesis-python/teams","hooks_url":"https://api.github.com/repos/dchudz/hypothesis-python/hooks","issue_events_url":"https://api.github.com/repos/dchudz/hypothesis-python/issues/events{/number}","events_url":"https://api.github.com/repos/dchudz/hypothesis-python/events","assignees_url":"https://api.github.com/repos/dchudz/hypothesis-python/assignees{/user}","branches_url":"https://api.github.com/repos/dchudz/hypothesis-python/branches{/branch}","tags_url":"https://api.github.com/repos/dchudz/hypothesis-python/tags","blobs_url":"https://api.github.com/repos/dchudz/hypothesis-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchudz/hypothesis-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchudz/hypothesis-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchudz/hypothesis-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchudz/hypothesis-python/statuses/{sha}","languages_url":"https://api.github.com/repos/dchudz/hypothesis-python/languages","stargazers_url":"https://api.github.com/repos/dchudz/hypothesis-python/stargazers","contributors_url":"https://api.github.com/repos/dchudz/hypothesis-python/contributors","subscribers_url":"https://api.github.com/repos/dchudz/hypothesis-python/subscribers","subscription_url":"https://api.github.com/repos/dchudz/hypothesis-python/subscription","commits_url":"https://api.github.com/repos/dchudz/hypothesis-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchudz/hypothesis-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchudz/hypothesis-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchudz/hypothesis-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchudz/hypothesis-python/contents/{+path}","compare_url":"https://api.github.com/repos/dchudz/hypothesis-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchudz/hypothesis-python/merges","archive_url":"https://api.github.com/repos/dchudz/hypothesis-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchudz/hypothesis-python/downloads","issues_url":"https://api.github.com/repos/dchudz/hypothesis-python/issues{/number}","pulls_url":"https://api.github.com/repos/dchudz/hypothesis-python/pulls{/number}","milestones_url":"https://api.github.com/repos/dchudz/hypothesis-python/milestones{/number}","notifications_url":"https://api.github.com/repos/dchudz/hypothesis-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchudz/hypothesis-python/labels{/name}","releases_url":"https://api.github.com/repos/dchudz/hypothesis-python/releases{/id}","deployments_url":"https://api.github.com/repos/dchudz/hypothesis-python/deployments","created_at":"2018-02-12T03:21:31Z","updated_at":"2018-02-12T03:21:33Z","pushed_at":"2018-02-23T12:29:32Z","git_url":"git://github.com/dchudz/hypothesis-python.git","ssh_url":"git@github.com:dchudz/hypothesis-python.git","clone_url":"https://github.com/dchudz/hypothesis-python.git","svn_url":"https://github.com/dchudz/hypothesis-python","homepage":"http://hypothesis.works","size":10270,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HypothesisWorks:master","ref":"master","sha":"208fe3a02a3d22371b02a5387f79e76962b9a352","user":{"login":"HypothesisWorks","id":18481919,"avatar_url":"https://avatars1.githubusercontent.com/u/18481919?v=4","gravatar_id":"","url":"https://api.github.com/users/HypothesisWorks","html_url":"https://github.com/HypothesisWorks","followers_url":"https://api.github.com/users/HypothesisWorks/followers","following_url":"https://api.github.com/users/HypothesisWorks/following{/other_user}","gists_url":"https://api.github.com/users/HypothesisWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/HypothesisWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HypothesisWorks/subscriptions","organizations_url":"https://api.github.com/users/HypothesisWorks/orgs","repos_url":"https://api.github.com/users/HypothesisWorks/repos","events_url":"https://api.github.com/users/HypothesisWorks/events{/privacy}","received_events_url":"https://api.github.com/users/HypothesisWorks/received_events","type":"Organization","site_admin":false},"repo":{"id":8685799,"name":"hypothesis-python","full_name":"HypothesisWorks/hypothesis-python","owner":{"login":"HypothesisWorks","id":18481919,"avatar_url":"https://avatars1.githubusercontent.com/u/18481919?v=4","gravatar_id":"","url":"https://api.github.com/users/HypothesisWorks","html_url":"https://github.com/HypothesisWorks","followers_url":"https://api.github.com/users/HypothesisWorks/followers","following_url":"https://api.github.com/users/HypothesisWorks/following{/other_user}","gists_url":"https://api.github.com/users/HypothesisWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/HypothesisWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HypothesisWorks/subscriptions","organizations_url":"https://api.github.com/users/HypothesisWorks/orgs","repos_url":"https://api.github.com/users/HypothesisWorks/repos","events_url":"https://api.github.com/users/HypothesisWorks/events{/privacy}","received_events_url":"https://api.github.com/users/HypothesisWorks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HypothesisWorks/hypothesis-python","description":"Hypothesis is a powerful, flexible, and easy to use library for property-based testing.","fork":false,"url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python","forks_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/forks","keys_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/teams","hooks_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/hooks","issue_events_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/events{/number}","events_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/events","assignees_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/assignees{/user}","branches_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/branches{/branch}","tags_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/tags","blobs_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/{sha}","languages_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/languages","stargazers_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/stargazers","contributors_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/contributors","subscribers_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/subscribers","subscription_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/subscription","commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/contents/{+path}","compare_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/merges","archive_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/downloads","issues_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues{/number}","pulls_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls{/number}","milestones_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/milestones{/number}","notifications_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/labels{/name}","releases_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/releases{/id}","deployments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/deployments","created_at":"2013-03-10T13:51:19Z","updated_at":"2018-02-23T14:27:19Z","pushed_at":"2018-02-23T15:49:26Z","git_url":"git://github.com/HypothesisWorks/hypothesis-python.git","ssh_url":"git@github.com:HypothesisWorks/hypothesis-python.git","clone_url":"https://github.com/HypothesisWorks/hypothesis-python.git","svn_url":"https://github.com/HypothesisWorks/hypothesis-python","homepage":"http://hypothesis.works","size":10259,"stargazers_count":2482,"watchers_count":2482,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":218,"mirror_url":null,"archived":false,"open_issues_count":122,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":218,"open_issues":122,"watchers":2482,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123"},"html":{"href":"https://github.com/HypothesisWorks/hypothesis-python/pull/1123"},"issue":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/1123"},"comments":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/1123/comments"},"review_comments":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123/comments"},"review_comment":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/1123/commits"},"statuses":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/6cbad6e1cc1648c4f2e3fa5bf0e32a5a56d0d4ab"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"DRMacIver","id":28623,"avatar_url":"https://avatars0.githubusercontent.com/u/28623?v=4","gravatar_id":"","url":"https://api.github.com/users/DRMacIver","html_url":"https://github.com/DRMacIver","followers_url":"https://api.github.com/users/DRMacIver/followers","following_url":"https://api.github.com/users/DRMacIver/following{/other_user}","gists_url":"https://api.github.com/users/DRMacIver/gists{/gist_id}","starred_url":"https://api.github.com/users/DRMacIver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRMacIver/subscriptions","organizations_url":"https://api.github.com/users/DRMacIver/orgs","repos_url":"https://api.github.com/users/DRMacIver/repos","events_url":"https://api.github.com/users/DRMacIver/events{/privacy}","received_events_url":"https://api.github.com/users/DRMacIver/received_events","type":"User","site_admin":false},"comments":12,"review_comments":3,"maintainer_can_modify":false,"commits":10,"additions":9,"deletions":21,"changed_files":2}}
{"actor":{"display_login":"DRMacIver"}}