If the "shrink" phase is disabled, we now stop the "generate" phase as
soon as an error is found regardless of the value of the
"report_multiple_examples" setting, since that's probably what you
wanted (issue #3244).
This patch fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue #3245).
This release improves Hypothesis' handling of positional-only
arguments, which are now allowed "@st.composite" strategies.
On Python 3.8 and later, the first arguments to "builds()" and
"from_model()" are now natively positional-only. In cases which were
already errors, the "TypeError" from incorrect usage will therefore be
raises immediately when the function is called, rather than when the
strategy object is used.
This release makes "floats()" error consistently when your floating-
point hardware has been configured to violate IEEE-754 for subnormal
numbers, instead of only when an internal assertion was tripped (issue
#3092).
If this happens to you, passing "allow_subnormal=False" will suppress
the explicit error. However, we strongly recommend fixing the root
cause by disabling global-effect unsafe-math compiler options instead,
or at least consulting e.g. Simon Byrne's Beware of fast-math
... (truncated)
Commits
180badb Bump hypothesis-python version to 6.39.4 and update changelog
d780225 Merge pull request #3256 from Zac-HD/unblock-upgrade
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.39.4.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
180badb
Bump hypothesis-python version to 6.39.4 and update changelogd780225
Merge pull request #3256 from Zac-HD/unblock-upgradea7c693b
Skip ghostwriter tests on Windowsec15c72
Update py311 test config and skipscfa95cf
Try resolving failures187b65d
Update for new mypya6d6942
Add more linters625eb65
Update pinned depsf843a82
unblock updated8c7f1e
Bump hypothesis-python version to 6.39.3 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)