Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.123.1
Our pytest plugin now emits a warning if you set Pytest's
"norecursedirs" config option in such a way that the ".hypothesis"
directory would be searched for tests. This reliably indicates that
you've made a mistake which slows down test collection, usually
assuming that your configuration extends the set of ignored patterns
when it actually replaces them. (issue #4200)
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.123.0
"from_type()" can now handle constructors with required positional-
only arguments if they have type annotations. Previously, we only
passed arguments by keyword.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.7
This patch lays some groundwork for migrating our internal
representation to the typed choice sequence (issue #3921)
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.6
This patch cleans up some internal code around clamping floats.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.5
This release improves shrinking in some cases, especially for
strategies using "one_of()". This will typically improve shrinking
speed and may in some cases improve the end result.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.4
This patch improves generation performance for the provisional
"domains()" strategy, including its derivative strategies "urls()" and
"emails()".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.3
This patch improves our error and warning messages.
-
Add a warning for "st.text("ascii")" - you probably meant
"st.text(st.characters(codec="ascii"))". Similarly for ""utf-8"". -
Recommend remedies in the error message of "Unsatisfiable".
-
When "@given" errors because it was given an extra keyword argument,
and the keyword matches a setting name like "max_examples",
recommend "@settings(max_examples=...)" instead.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.2
This patch updates some outdated external links in our documentation.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.1
Fix "from_type()" on "collections.abc.Callable" returning "None".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.122.0
This release adds ".span_start()" and ".span_end()" methods to our
internal "PrimitiveProvider" interface, for use by Alternative
backends for Hypothesis.
The canonical version of these notes (with links) is on readthedocs.