Changelog History
Page 4
-
v5.7.2 Changes
March 24, 2020๐จ This patch fixes issue #2341, ensuring that the printed output from a
โ stateful test cannot use variable names before they are defined.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.7.1 Changes
March 23, 2020๐ This patch fixes issue #2375, preventing incorrect failure when a
function scoped fixture is overridden with a higher scoped fixture.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.7.0 Changes
March 19, 2020๐ This release allows the "array_dtypes()" strategy to generate Numpy
dtypes which have field titles in addition to field names. We expect
this to expose latent bugs where code expects that "set(dtype.names)
== set(dtype.fields)", though the latter may include titles.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.6.1 Changes
March 18, 2020This makes "model" a positional-only argument to "from_model()", to
๐ support models with a field literally named "model" (issue #2369).โ The canonical version of these notes (with links) is on readthedocs.
-
v5.6.0 Changes
February 29, 2020๐ This release adds an explicit warning for tests that are both
โ decorated with "@given(...)" and request a function-scoped pytest
fixture , because such fixtures are only executed once for all
โ Hypothesis test cases and that often causes trouble (issue #377).It's very difficult to fix this on the pytest side, so since 2015
our advice has been "just don't use function-scoped fixtures with
Hypothesis". Now we detect and warn about the issue at runtime!โ The canonical version of these notes (with links) is on readthedocs.
-
v5.5.5 Changes
February 29, 2020๐ This release cleans up the internal machinery for Stateful testing,
after we dropped the legacy APIs in Hypothesis 5.0 (issue #2218).
There is no user-visible change.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.5.4 Changes
February 16, 2020๐ This patch fixes issue #2351, "arrays()" would raise a confusing error
if we inferred a strategy for "datetime64" or "timedelta64" values
with varying time units.We now infer an internally-consistent strategy for such arrays, and
have a more helpful error message if an inconsistent strategy is
explicitly specified.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.5.3 Changes
February 14, 2020๐ This patch improves the signature of "builds()" by specifying "target"
as a positional-only argument on Python 3.8 (see PEP 570 ). The
๐ semantics of "builds()" have not changed at all - this just clarifies
๐ the documentation.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.5.2 Changes
February 13, 2020๐ This release makes Hypothesis faster at generating test cases that
contain duplicated values in their inputs.โ The canonical version of these notes (with links) is on readthedocs.
-
v5.5.1 Changes
February 07, 2020This patch has some tiny internal code clean-ups, with no user-visible
๐ change.โ The canonical version of these notes (with links) is on readthedocs.