From 4a58e10e09e55f453ab41dae78ef9e1b8abafa3a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 15 Dec 2015 18:09:52 +0100 Subject: [PATCH] Enable hypothesis' strict mode. --- tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 9fd73fe73..fae1e455a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,6 +30,7 @@ import textwrap import warnings import pytest +import hypothesis import helpers.stubs as stubsmod from helpers import logfail @@ -42,6 +43,10 @@ from PyQt5.QtNetwork import QNetworkCookieJar import xvfbwrapper +# Set hypothesis settings +hypothesis.Settings.default.strict = True + + def _apply_platform_markers(item): """Apply a skip marker to a given item.""" markers = [