github HypothesisWorks/hypothesis v6.160.0
Hypothesis version 6.160.0

5 hours ago

"Bundle" now supports efficient ".filter()" and ".map()" methods,
which compose with "consumes()" in either order (issue #3944).
Previously, "consumes(bundle).filter(fn)" could remove rejected values
from the bundle while retrying, and "consumes(bundle.filter(fn))" was
a type error; filtered draws now select among currently-matching
values and consume only the value which was actually drawn.

Thanks to Reagan Lee for the initial implementation of this feature in
pull request #4084!

The canonical version of these notes (with links) is on readthedocs.

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.