There is a newer version of the record available.

Published May 7, 2020 | Version hypothesis-python-5.11.0
Software Open

HypothesisWorks/hypothesis: Hypothesis for Python - version 5.11.0

Description

This release improves the interaction between "assume()" and the "@example()" decorator, so that the following test no longer fails with "UnsatisfiedAssumption" (issue #2125):

@given(value=floats(0, 1)) @example(value=0.56789) # used to make the test fail! @pytest.mark.parametrize("threshold", [0.5, 1]) def test_foo(threshold, value): assume(value < threshold) ...

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

Files

HypothesisWorks/hypothesis-hypothesis-python-5.11.0.zip

Files (9.3 MB)

Additional details