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):