Hypothesis

Latest version: v6.122.3

Safety actively analyzes 688587 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 144 of 210

3.84.3

Not secure
-------------------

This patch updates the Hypothesis pytest plugin to avoid a recently
deprecated hook interface. There is no user-visible change.

3.84.2

Not secure
-------------------

This patch fixes the internals for :func:`~hypothesis.strategies.integers`
with one bound. Values from this strategy now always shrink towards zero
instead of towards the bound, and should shrink much more efficiently too.
On Python 2, providing a bound incorrectly excluded ``long`` integers,
which can now be generated.

3.84.1

Not secure
-------------------

This patch adds information about when features were deprecated, but this
is only recorded internally and has no user-visible effect.

3.84.0

Not secure
-------------------

This release changes the stateful testing backend from
``find()`` to use :func:`given <hypothesis.given>`
(:issue:`1300`). This doesn't change how you create stateful tests,
but does make them run more like other Hypothesis tests.

:func:`reproduce_failure <hypothesis.reproduce_failure>` and
:func:`seed <hypothesis.seed>` now work for stateful tests.

Stateful tests now respect the :attr:`~hypothesis.settings.deadline`
and :attr:`~hypothesis.settings.suppress_health_check` settings,
though they are disabled by default. You can enable them by using
:func:`settings(...) <hypothesis.settings>` as a class decorator
with whatever arguments you prefer.

3.83.2

Not secure
-------------------

Hypothesis has adopted :pypi:`black` as our code formatter (:issue:`1686`).
There are no functional changes to the source, but it's prettier!

3.83.1

Not secure
-------------------

This patch increases the variety of examples generated by
:func:`~hypothesis.strategies.from_type`.

Page 144 of 210

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.