Hypothesis

Latest version: v6.100.1

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

Scan your dependencies

Page 128 of 195

3.85.0

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

Introduces the :func:`hypothesis.stateful.consumes` function. When defining
a rule in stateful testing, it can be used to mark bundles from which values
should be consumed, i. e. removed after use in the rule. This has been
proposed in :issue:`136`.

Thanks to Jochen Müller for this long-awaited feature.

3.84.6

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

This patch makes a small internal change to fix an issue in Hypothesis's
own coverage tests (:issue:`1718`).

There is no user-visible change.

3.84.5

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

This patch refactors the ``hypothesis.strategies`` module, so that private
names should no longer appear in tab-completion lists. We previously relied
on ``__all__`` for this, but not all editors respect it.

3.84.4

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

This is a follow-up patch to ensure that the deprecation date is automatically
recorded for any new deprecations. There is no user-visible effect.

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.

Page 128 of 195

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.