The Hypothesis pytest plugin now requires pytest version 4.6 or later.
If the plugin detects an earlier version of pytest, it will
automatically deactivate itself.
(4.6.x is the earliest pytest branch that still accepts community
bugfixes.)
Hypothesis-based tests should continue to work in earlier versions of
pytest, but enhanced integrations provided by the plugin (such as "--
hypothesis-show-statistics" and other command-line flags) will no
longer be available in obsolete pytest versions.
If you use pytest-html, Hypothesis now includes the summary statistics
for each test in the HTML report, whether or not the "--hypothesis-
show-statistics" argument was passed to show them in the command-line
output.
This release teaches Hypothesis to distinguish between errors based on
the cause or context of otherwise identical exceptions, which
is particularly useful when internal errors can be wrapped by a
library-specific or semantically appropriate exception such as:
try:
do_the_thing(foo, timeout=10)
except Exception as err:
raise FooError("Failed to do the thing") from err
Earlier versions of Hypothesis only see the "FooError", while we can
now distinguish a "FooError" raised because of e.g. an internal
assertion from one raised because of a "TimeoutExceeded" exception.
This release prevents a race condition inside "recursive()"
strategies. The race condition occurs when the same "recursive()"
strategy is shared among tests that are running in multiple threads
... (truncated)
Commits
f1ca0a3 Bump hypothesis-python version to 6.3.0 and update changelog
1411b1c Merge pull request #2865 from Zalathar/pytest-46
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps hypothesis from 3.23.3 to 6.3.0.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
f1ca0a3
Bump hypothesis-python version to 6.3.0 and update changelog1411b1c
Merge pull request #2865 from Zalathar/pytest-4623478b3
Bump required pytest version to 4.6d760621
Merge pull request #2858 from HypothesisWorks/create-pull-request/patchc718331
Update pinned dependenciesfbe82e8
Bump hypothesis-python version to 6.2.0 and update changelog36acea8
Update test_interesting_origin.pyeee5245
Merge pull request #2854 from Zac-HD/html-statistics-report6188ce2
Report stats in HTML0058663
Document new integrationsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)