The Ghostwritter can now write tests for "@classmethod" or
"@staticmethod" methods, in addition to the existing support for
functions and other callables (issue #3318). Thanks to Cheuk Ting Ho
for the patch.
This patch by Phillip Schanely makes changes to the "floats()"
strategy when "min_value" or "max_value" is present. Hypothesis will
now be capable of generating every representable value in the bounds.
You may notice that hypothesis is more likely to test values near
boundaries, and values that are very close to zero.
These changes also support future integrations with symbolic execution
tools and fuzzers (issue #3086).
This patch updates the type annotations for "tuples()" and "one_of()"
so that type-checkers require its arguments to be positional-only, and
so that it no longer fails under pyright-strict mode (see issue
#3348). Additional changes are made to Hypothesis' internals improve
pyright scans.
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 6.43.3 to 6.47.0.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
a11ec6f
Bump hypothesis-python version to 6.47.0 and update changelog208b862
Merge pull request #3354 from Cheukting/ghostwriter_imrpovement2c615d7
Tighten up tests a bitdfee405
type annotationf035ab5
Merge pull request #3365 from jenstroeger/fix-details-typo61d5a80
Fix bullet-point typo860eaff
shed42dfdb7
swap testing with xml to custom class9364727
use list instead of copy4248a48
Bump hypothesis-python version to 6.46.11 and update changelogDependabot 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)