github HypothesisWorks/hypothesis hypothesis-python-6.12.0
Hypothesis for Python - version 6.12.0

latest releases: hypothesis-python-6.102.4, hypothesis-python-6.102.3, hypothesis-python-6.102.2...
3 years ago

This release automatically rewrites some simple filters, such as
"integers().filter(lambda x: x > 9)" to the more efficient
"integers(min_value=10)", based on the AST of the predicate.

We continue to recommend using the efficient form directly wherever
possible, but this should be useful for e.g. pandera ""Checks"" where
you already have a simple predicate and translating manually is really
annoying. See issue #2701 for ideas about floats and simple text
strategies.

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.