Published May 7, 2020
| Version hypothesis-python-5.11.0
Software
Open
HypothesisWorks/hypothesis: Hypothesis for Python - version 5.11.0
Creators
- David R. MacIver
- Zac Hatfield-Dodds1
- pyup.io bot2
- Alex Chan3
- Stuart Cook
- Ryan Soklaski
- David Chudzicki
- jwg4
- Alex Willmer
- Tyler4
- Kyle Reeve
- Grigorios Giannakopoulos
- mulkieran
- Emmanuel Leblond5
- Christopher Armstrong
- Tyler Gibbons6
- Jeremy Thurgood
- Paul Stiverson
- SuperStormer
- Alexander Shorin
- Peter C Kroon
- Anne Archibald7
- Tom Prince8
- Mathieu PATUREL
- dwest-netflix
- leaprovenzano
- Tom McDermott9
- rdturnermtl
- Graham Williamson
- Cory Benfield10
- 1. Australian National University
- 2. @pyupio
- 3. @wellcometrust
- 4. VideoAmp
- 5. Scille
- 6. @Flexport
- 7. University of Newcastle
- 8. @mozilla-releng
- 9. Wattwatchers
- 10. Apple
Description
This release improves the interaction between "assume()" and the "@example()" decorator, so that the following test no longer fails with "UnsatisfiedAssumption" (issue #2125):
@given(value=floats(0, 1)) @example(value=0.56789) # used to make the test fail! @pytest.mark.parametrize("threshold", [0.5, 1]) def test_foo(threshold, value): assume(value < threshold) ...
The canonical version of these notes (with links) is on readthedocs.
Files
HypothesisWorks/hypothesis-hypothesis-python-5.11.0.zip
Files
(9.3 MB)
Name | Size | Download all |
---|---|---|
md5:05120949c1ff69920dd7a82870aef583
|
9.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-5.11.0 (URL)