Hypothesis

Latest version: v6.100.1

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

Scan your dependencies

Page 109 of 195

4.23.5

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

This release slightly simplifies a small part of the core engine.
There is no user-visible change.

4.23.4

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

Fixes a minor formatting issue the docstring of :func:`~hypothesis.strategies.from_type`

4.23.3

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

Adds a recipe to the docstring of :func:`~hypothesis.strategies.from_type`
that describes a means for drawing values for "everything except" a specified type.
This recipe is especially useful for writing tests that perform input-type validation.

4.23.2

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

This patch uses :pypi:`autoflake` to remove some pointless ``pass`` statements,
which improves our workflow but has no user-visible impact.

4.23.1

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

This patch fixes an OverflowError in
:func:`from_type(xrange) <hypothesis.strategies.from_type>` on Python 2.

It turns out that not only do the ``start`` and ``stop`` values have to
fit in a C long, but so does ``stop - start``. We now handle this even
on 32bit platforms, but remind users that Python2 will not be supported
after 2019 without specific funding.

4.23.0

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

This release implements the :func:`~hypothesis.strategies.slices` strategy,
to generate slices of a length-``size`` sequence.

Thanks to Daniel J. West for writing this patch at the PyCon 2019 sprints!

Page 109 of 195

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.