Skip to content

Hypothesis version 6.165.2

Latest

Choose a tag to compare

@Zac-HD Zac-HD released this 05 Aug 21:33

This release extends a recent shrinking improvement to many more
strategies. In unions like "wide_strategy | specific_strategy", values
produced by the specific branch can now be re-encoded and shrunk as if
generated by the wider branch when the strategies involved include
"sampled_from()", "lists()", "tuples()", "dictionaries()" and
"fixed_dictionaries()", "builds()" of a dataclass, "permutations()",
the "dates()" family of strategies, and filtered, deferred, or
recursive combinations of them.

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