From 97d5342f0c5e6ea53158f9eaa92a6f90f1d13935 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 10 Jan 2016 21:57:06 +0100 Subject: [PATCH] Adjust hypothesis setting for 2.0. --- tests/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 497f1715c..4b377feb3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -45,7 +45,9 @@ import xvfbwrapper # Set hypothesis settings -hypothesis.Settings.default.strict = True # pylint: disable=no-member +hypothesis.settings.register_profile('default', + hypothesis.settings(strict=True)) +hypothesis.settings.load_profile('default') def _apply_platform_markers(item):