From 43a42def2b7aaae31b66ced0f1b341a5e394a9dc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 27 Sep 2015 20:51:36 +0200 Subject: [PATCH] tox: Update hypothesis to 1.11.4. - Hide modifications Hypothesis needs to make to sys.path by undoing them after we've imported the relevant modules. This is a workaround for issues cryptography experienced on windows. - Slightly improved performance of drawing from sampled_from on large lists of alternatives. - Significantly improved performance of drawing from one_of or strategies using | (note this includes a lot of strategies internally - floats() and integers() both fall into this category). There turned out to be a massive performance regression introduced in 1.10.0 affecting these which probably would have made tests using Hypothesis significantly slower than they should have been. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 203ac6ddb..f23acd9db 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ deps = pytest-qt==1.7.0 pytest-mock==0.7.0 pytest-html==1.6 - hypothesis==1.11.3 + hypothesis==1.11.4 coverage==4.0.0 pytest-cov==2.1.0 beautifulsoup4==4.4.0