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

latest releases: hypothesis-python-6.150.0, hypothesis-python-6.149.1
5 days ago

This release extends the explain-phase "# or any other generated
value" comments to sub-arguments within "builds()", "tuples()", and
"fixed_dictionaries()".

Previously, these comments only appeared on top-level test arguments.
Now, when the explain phase determines that a sub-argument can vary
freely without affecting the test failure, you'll see comments like:

Falsifying example: test_foo(
obj=MyClass(
x=0, # or any other generated value
y=True,
),
data=(
'', # or any other generated value
42,
),
)

This makes it easier to understand which parts of complex inputs
actually matter for reproducing a failure.

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.