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
explainer first.
This patch fixes a bug in stateful testing, where returning a single
value wrapped in "multiple()" would be printed such that the assigned
variable was a tuple rather than the single element (issue #3236).
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.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
846bd80
Bump hypothesis-python version to 6.39.1 and update changelog4e422a8
Merge pull request #3246 from Zac-HD/fix-proxies-regression990c979
Don't follow_wrapped for proxies60c1ba7
Test and notes for proxies fix79cafec
Bump hypothesis-python version to 6.39.0 and update changelogaa3564f
Merge pull request #3241 from Zac-HD/use-signaturee8730ad
Create RELEASE.rst4826d41
Patch builds() to use real posonly args8f7fb51
Use signature in composite264f4f4
Use signature in randomDependabot 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)