"register_type_strategy()" no longer accepts parametrised user-defined
generic types, because the resolution logic was quite badly broken
(issue #2537).
Instead of registering a strategy for e.g. "MyCollection[int]", you
should register a function for "MyCollection" and inspect the type
parameters within that function.
Thanks to Nikita Sobolev for the bug report, design assistance, and
pull request to implement this feature!
Tired of writing tests? Or new to Hypothesis and not sure where to
start?
This release is for you! With our new Ghostwriter functions and
hypothesis write ... command-line interface, you can stop writing
tests entirely... or take the source code Hypothesis writes for you as
a starting point.
This has been in the works for months, from issue #2118 to versions
5.18.3, 5.23.5, and 5.23.5 - particular thanks to the many people who
reviewed pull requests or commented on demos, and to Timothy Crosley's
hypothesis-auto project for inspiration.
This patch adds yet more internal functions to support a new feature
we're working on, like version 5.18.3 and version 5.23.6. We promise
it's worth the wait!
This release fixes a small internal bug in Hypothesis's internal
automaton library. Fortunately this bug was currently impossible to
hit in user facing code, so this has no user visible impact.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps hypothesis from 4.36.2 to 5.26.0.
Release notes
Sourced from hypothesis's releases.
Commits
9cb7a77
Bump hypothesis-python version to 5.26.0 and update changelog07c0a41
Merge pull request #2543 from sobolevn/issue-25378a1ebc5
Adds origin handlinge966647
temp_registered helper9558848
Bump hypothesis-python version to 5.25.0 and update changelog3ed5176
Merge pull request #2344 from Zac-HD/ghostwriter667d80e
Create RELEASE.rst28baf7f
Add a CLI for the ghostwriter09d0048
Add new ghostwriters516a13d
Bump hypothesis-python version to 5.24.4 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)