Reporting of "multiple failing examples" now uses the PEP 654
ExceptionGroup type, which is provided by the exceptiongroup backport
on Python 3.10 and earlier (issue #3175).
"hypothesis.errors.MultipleFailures" is therefore deprecated.
Failing examples and other reports are now stored as PEP 678
exception notes, which ensures that they will always appear together
with the traceback and other information about their respective error.
This patch improves the error message when you pass filenames to the
hypothesis write CLI, which takes the name of a module or function
(e.g. hypothesis write gzip or hypothesis write
package.some_function rather than hypothesis write script.py).
Thanks to Ed Rogers for implementing this as part of the SciPy 2022
sprints!
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)
Bumps hypothesis from 5.23.11 to 6.54.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
f3282ce
Bump hypothesis-python version to 6.54.1 and update changelog4825294
Merge pull request #3427 from Zac-HD/pickle-exceptions68a39a9
Fix pickle errors for exceptions4b1882c
Bump hypothesis-python version to 6.54.0 and update changelogcc6f84e
Merge pull request #3308 from Zac-HD/use-exceptiongroup0017d25
Merge pull request #3425 from HypothesisWorks/create-pull-request/patch5ad13be
Update pinned dependenciesb663377
Speed up test for hard cases5ed3451
Remove old+undocumented hook04b4d0e
Report only first bug on PytestDependabot 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)