There is a newer version of the record available.

Published May 6, 2021 | Version hypothesis-python-6.12.0
Software Open

HypothesisWorks/hypothesis: Hypothesis for Python - version 6.12.0

Description

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.

Files

HypothesisWorks/hypothesis-hypothesis-python-6.12.0.zip

Files (9.5 MB)

Additional details