Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.148.9
".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
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
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
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
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
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
Clean up some internal code.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.2
Document "fuzz_one_input()".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.1
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
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.