Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.148.9

01 Jan 04:53

Choose a tag to compare

".example()" no longer emits "NonInteractiveExampleWarning" when
running a python file directly. This means that e.g. "python
my_sandbox.py" during exploratory work with ".example()" will no
longer raise warnings.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.8

23 Dec 01:46

Choose a tag to compare

Add "dict" and "proto" to the list of constant strings
Hypothesis sometimes generates.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.7

05 Dec 02:12

Choose a tag to compare

When multiple explicit "@example" decorators fail with the same error,
Hypothesis now shows only the simplest failing example (by shortlex
order) with a note about how many other examples also failed (issue
#4520).

To see all failing examples, use "Verbosity.verbose" or higher.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.6

04 Dec 05:51

Choose a tag to compare

Fix a bug where we persisted symbolics from solver-based alternative
backends in "event()".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.5

01 Dec 07:28

Choose a tag to compare

This patch improves the error message for "FlakyStrategyDefinition"
when the precondition for a rule is flaky (issue #4206).

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.4

01 Dec 02:43

Choose a tag to compare

This patch improves the type annotations for "basic_indices()". The
return type now accurately reflects the "allow_ellipsis" and
"allow_newaxis" parameters, excluding "EllipsisType" or "None" from
the union when those index types are disabled (issue #4607).

Additionally, "assume()" now has overloaded type annotations:
"assume(True)" returns "Literal[True]", while "assume(False)" and
"assume(None)" return "NoReturn".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.3

27 Nov 06:34

Choose a tag to compare

Hypothesis for Python - version 6.148.2

18 Nov 20:21

Choose a tag to compare

Hypothesis for Python - version 6.148.1

16 Nov 07:58

Choose a tag to compare

This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.0

15 Nov 06:58

Choose a tag to compare

Calling "register_profile()" from within a test decorated with
"@settings" is now deprecated, to avoid confusion about which settings
are used as the baseline for the new profile.

The canonical version of these notes (with links) is on readthedocs.