A classic error when testing is to write a test function that can
never fail, even on inputs that aren't allowed or manually provided.
By analogy to the design pattern of:
This patch teaches our enhanced "get_type_hints()" function to 'see
through' "partial" application, allowing inference from type hints to
work in a few more cases which aren't (yet!) supported by the
standard-library version.
This patch brings our "domains()" and "emails()" strategies into
compliance with RFC 5890 §2.3.1: we no longer generate parts-of-
domains where the third and fourth characters are "--" ("R-LDH
labels"), though future versions may deliberately generate "xn--"
punycode labels. Thanks to python-email-validator for the report!
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.61.0 to 6.62.0.
Release notes
Sourced from hypothesis's releases.
Commits
142d49f
Bump hypothesis-python version to 6.62.0 and update changelog329ba04
Merge pull request #3537 from Zac-HD/example-xfaile1deea8
Fix formatting0f749bc
Update hypothesis-python/src/hypothesis/core.py679ce87
Merge pull request #3541 from HypothesisWorks/create-pull-request/patchf0b1252
Skip some typecheck tests for py3788d9d7b
Bump hypothesis-python version to 6.61.3 and update changelogd10c36b
Update pinned dependencies8334479
Merge pull request #3536 from Zac-HD/get-hints-from-partial86c17a7
Bump hypothesis-python version to 6.61.2 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)