Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.152.4
This patch fixes a rare internal error during "Phase.explain"
introduced in version 6.149.0 for certain strategies (issue #4708).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.152.3
The "hypothesis-urandom" backend now reads from "/dev/urandom" with
buffering disabled, which improves the control of those hooking
"/dev/urandom" to change or read Hypothesis's random decisions.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.152.2
This release further improves printing of generated values, building
on the changes in version 6.151.11.
Principle changes:
-
In many cases where we would have printed a complex expression
producing a value, we now print the repr (or a pretty-printed
version of it). -
Additionally, in some cases where we would print a complex
expression that involved a lambda, we are now able to simplify that
expression into a more readable one.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.152.1
Improve some internal type hints.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.152.0
Hypothesis generally recommends that the ".hypothesis" directory not
be checked into version control. As a result, Hypothesis now
automatically creates a ".gitignore" with "*" in the ".hypothesis"
directory, which excludes it from being tracked by git.
If you do want to check ".hypothesis" into git, you can remove the
".gitignore" file. Hypothesis will not re-create it unless the entire
".hypothesis" directory is removed.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.151.14
This patch fixes our "from_regex()" type annotations so that
"from_regex(..., alphabet=None)" is accepted.
This patch also adds unicode line breaks and thai combining vowels to
our list of constant strings to upweight at runtime.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.151.13
This patch removes some newly unnecessary "# type: ignore" comments.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.151.12
This release improves "Phase.explain" output by excluding pytest-
related syrupy files as a possible source of variation.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.151.11
This patch improves printing of primitive values generated from
complex strategies, particularly for "from_regex()". Previously, these
would often be printed as function calls desctribing how to construct
them. Now they will always be printed as a literal value.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.151.10
When shrinking takes more than five minutes, Hypothesis now prints the
"@seed" decorator alongside the slow-shrinking warning so you can
reproduce the failure.
Thanks to Ian Hunt-Isaak for this contribution!
The canonical version of these notes (with links) is on readthedocs.