Hypothesis

Latest version: v6.99.13

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

Scan your dependencies

Page 64 of 194

5.43.8

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

This patch makes some strategies for collections with a uniqueness constraint
much more efficient, including ``dictionaries(keys=sampled_from(...), values=..)``
and ``lists(tuples(sampled_from(...), ...), unique_by=lambda x: x[0])``.
(related to :issue:`2036`)

5.43.7

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

This patch extends our faster special case for
:func:`~hypothesis.strategies.sampled_from` elements in unique
:func:`~hypothesis.strategies.lists` to account for chains of
``.map(...)`` and ``.filter(...)`` calls (:issue:`2036`).

5.43.6

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

This patch improves the type annotations on :func:`~hypothesis.assume`
and :func:`reproduce_failure() <hypothesis.reproduce_failure>`.

5.43.5

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

This patch updates our copyright headers to include 2021. Happy new year!

5.43.4

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

This change fixes a documentation error in the
:obj:`~hypothesis.settings.database` setting.

The previous documentation suggested that callers could specify a database
path string, or the special string ``":memory:"``, but this setting has
never actually allowed string arguments.

Permitted values are ``None``, and instances of
:class:`~hypothesis.database.ExampleDatabase`.

5.43.3

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

This patch fixes :issue:`2696`, an internal error triggered when the
:obj:`example <hypothesis.example>` decorator was used and the
:obj:`~hypothesis.settings.verbosity` setting was ``quiet``.

Page 64 of 194

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.