github HypothesisWorks/hypothesis hypothesis-python-6.30.0
Hypothesis for Python - version 6.30.0

latest releases: hypothesis-python-6.100.2, hypothesis-python-6.100.1, hypothesis-python-6.100.0...
2 years ago

This release adds an "allow_subnormal" argument to the "floats()"
strategy, which can explicitly toggle the generation of subnormal
floats (issue #3155). Disabling such generation is useful when testing
flush-to-zero builds of libraries.

"nps.from_dtype()" and "xps.from_dtype()" can also accept the
"allow_subnormal" argument, and "xps.from_dtype()" or "xps.arrays()"
will disable subnormals by default if the array module "xp" is
detected to flush-to-zero (like is typical with CuPy).

The canonical version of these notes (with links) is on readthedocs.

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.