Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Thomas Klausner
Date: 2016-10-19 14:42:56
Message id: 20161019124256.4B6BAFBD2@cvs.NetBSD.org
Log Message:
Updated py-hypothesis to 3.5.3.
3.5.3 - 2016-10-05
This is a bug fix release.
Bugs fixed:
If the same test was running concurrently in two processes and there were \
examples already in the test database which no longer failed, Hypothesis would \
sometimes fail with a FileNotFoundError (IOError on Python 2) because an example \
it was trying to read was deleted before it was read. (Issue #372).
Drawing from an integers() strategy with both a min_value and a max_value \
would reject too many examples needlessly. Now it repeatedly redraws until \
satisfied. (Pull request #366. Thanks to Calen Pennington for the contribution).
3.5.2 - 2016-09-24
This is a bug fix release.
The Hypothesis pytest plugin broke pytest support for doctests. Now it \
doesnât.
3.5.1 - 2016-09-23
This is a bug fix release.
Hypothesis now runs cleanly in -B and -BB modes, avoiding mixing bytes and \
unicode.
unittest.TestCase tests would now have shown up in the new statistics mode. \
Now they do.
Similarly, stateful tests would not have shown up in statistics and now they do.
Statistics now print with pytest node IDs (the names youâd get in \
pytest verbose mode).
3.5.0 - 2016-09-22
This is a feature release.
fractions() and decimals() strategies now support min_value and max_value \
parameters. Thanks go to Anne Mulhern for the development of this feature.
The Hypothesis pytest plugin now supports a âhypothesis-show-statistics \
parameter that gives detailed statistics about the tests that were run. Huge \
thanks to Jean-Louis Fuchs and Adfinis-SyGroup for funding the development of \
this feature.
There is a new event() function that can be used to add custom statistics.
Additionally there have been some minor bug fixes:
In some cases Hypothesis should produce fewer duplicate examples (this will \
mostly only affect cases with a single parameter).
py.test command line parameters are now under an option group for Hypothesis \
(thanks to David Keijser for fixing this)
Hypothesis would previously error if you used function annotations on your \
tests under Python 3.4.
The repr of many strategies using lambdas has been improved to include the \
lambda body (this was previously supported in many but not all cases).
Files: