-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge
Bundle
as subclass of SampledFromStrategy
- Loading branch information
1 parent
228437f
commit cefcea8
Showing
4 changed files
with
201 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
RELEASE_TYPE: minor | ||
|
||
This release changes :class:`hypothesis.stateful.Bundle` to use the internals of | ||
:func:`~hypothesis.strategies.sampled_from`, improving the `filter` and `map` methods. | ||
In addition to performance improvements, you can now ``consumes(some_bundle).filter(...)``! | ||
|
||
Thanks to Reagan Lee for this feature (:issue:`3944`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters