Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.57.1
This patch updates some internal type annotations and fixes a
formatting bug in the "explain" phase reporting.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.57.0
Hypothesis now raises an error if you passed a strategy as the
"alphabet=" argument to "text()", and it generated something which was
not a length-one string. This has never been supported, we're just
adding explicit validation to catch cases like this StackOverflow
question.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.56.4
This patch updates some docs, and depends on exceptiongroup 1.0.0
final to avoid a bug in the previous version.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.56.3
This patch teaches "text()" to rewrite a few more filter predicates
(issue #3134). You're unlikely to notice any change.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.56.2
This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy, and fixes some incorrect
examples in the docs for "mutually_broadcastable_shapes()".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.56.1
This patch improves the error message when Hypothesis detects "flush
to zero" mode for floating-point: we now report which package(s)
enabled this, which can make debugging much easier. See issue #3458
for details.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.56.0
This release defines "bool()" on "SearchStrategy". It always
returns "True", like before, but also emits a warning to help with
cases where you intended to draw a value (issue #3463).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.55.0
In preparation for future versions of the Array API standard,
"make_strategies_namespace()" now accepts an optional "api_version"
argument, which determines the version conformed to by the returned
strategies namespace. If "None", the version of the passed array
module "xp" is inferred.
This release also introduces "xps.real_dtypes()". This is currently
equivalent to the existing "xps.numeric_dtypes()" strategy, but exists
because the latter is expected to include complex numbers in the next
version of the standard.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.54.6
If multiple explicit examples (from "@example()") raise a Skip
exception, for consistency with generated examples we now re-raise the
first instead of collecting them into an ExceptionGroup (issue #3453).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.54.5
This patch updates our autoformatting tools, improving our code style
without any API changes.
The canonical version of these notes (with links) is on readthedocs.