Hypothesis

Latest version: v6.122.3

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

Scan your dependencies

Page 150 of 210

3.73.3

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

Tracebacks involving :func:`composite <hypothesis.strategies.composite>`
are now slightly shorter due to some internal refactoring.

3.73.2

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

This patch fixes errors in the internal comments for one of the shrinker
passes. There is no user-visible change.

3.73.1

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

This patch substantially improves the distribution of data generated
with :func:`~hypothesis.strategies.recursive`, and fixes a rare internal
error (:issue:`1502`).

3.73.0

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

This release adds the :func:`~hypothesis.extra.dpcontracts.fulfill` function,
which is designed for testing code that uses :pypi:`dpcontracts` 0.4 or later
for input validation. This provides some syntactic sugar around use of
:func:`~hypothesis.assume`, to automatically filter out and retry calls that
cause a precondition check to fail (:issue:`1474`).

3.72.0

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

This release makes setting attributes of the :class:`hypothesis.settings`
class an explicit error. This has never had any effect, but could mislead
users who confused it with the current settings *instance*
``hypothesis.settings.default`` (which is also immutable). You can change
the global settings with :ref:`settings profiles <settings_profiles>`.

3.71.11

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

This patch factors out some common code in the shrinker for iterating
over pairs of data blocks. There should be no user-visible change.

Page 150 of 210

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.