Hypothesis: Property-Based Testing for Python
Authors/Creators
- 1. Imperial College London
- 2. Australian National University
Description
This release makes "floats()" error consistently when your floating- point hardware has been configured to violate IEEE-754 for subnormal numbers, instead of only when an internal assertion was tripped (issue
3092).If this happens to you, passing "allow_subnormal=False" will suppress the explicit error. However, we strongly recommend fixing the root cause by disabling global-effect unsafe-math compiler options instead, or at least consulting e.g. Simon Byrne's Beware of fast-math explainer first.
The canonical version of these notes (with links) is on readthedocs.
Notes
Files
HypothesisWorks/hypothesis-hypothesis-python-6.38.0.zip
Files
(9.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:6da1f0f4a220f0e0a23de445e96fb5fc
|
9.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-6.38.0 (URL)