Hypothesis

Latest version: v6.122.3

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

Scan your dependencies

Page 94 of 210

5.18.3

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

This patch adds some internal functions to support a new feature
we're working on. There is no user-visible change... yet.

5.18.2

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

This patch improves our docs for the :obj:`~hypothesis.settings.derandomize` setting.

5.18.1

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

This release consists of some internal refactoring to the shrinker in preparation for future work. It has no user visible impact.

5.18.0

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

This release teaches Hypothesis to :ref:`shorten tracebacks <v3.79.2>` for
:ref:`explicit examples <providing-explicit-examples>`, as we already do
for generated examples, so that you can focus on your code rather than ours.

If you have multiple failing explicit examples, they will now all be reported.
To report only the first failure, you can use the :obj:`report_multiple_bugs=False
<hypothesis.settings.report_multiple_bugs>` setting as for generated examples.

5.17.0

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

This patch adds strategy inference for the ``Literal``, ``NewType``, ``Type``,
``DefaultDict``, and ``TypedDict`` types from the :pypi:`typing-extensions`
backport on PyPI.

5.16.3

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

This patch precomputes some of the setup logic for our
:ref:`external fuzzer integration <fuzz_one_input>` and sets
:obj:`deadline=None <hypothesis.settings.deadline>` in fuzzing mode,
saving around 150us on each iteration.

This is around two-thirds the runtime to fuzz an empty test with
``given(st.none())``, and nice to have even as a much smaller
fraction of the runtime for non-trivial tests.

Page 94 of 210

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.