Enable hypothesis' strict mode.
This commit is contained in:
parent
a387e9669c
commit
4a58e10e09
@ -30,6 +30,7 @@ import textwrap
|
|||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
import hypothesis
|
||||||
|
|
||||||
import helpers.stubs as stubsmod
|
import helpers.stubs as stubsmod
|
||||||
from helpers import logfail
|
from helpers import logfail
|
||||||
@ -42,6 +43,10 @@ from PyQt5.QtNetwork import QNetworkCookieJar
|
|||||||
import xvfbwrapper
|
import xvfbwrapper
|
||||||
|
|
||||||
|
|
||||||
|
# Set hypothesis settings
|
||||||
|
hypothesis.Settings.default.strict = True
|
||||||
|
|
||||||
|
|
||||||
def _apply_platform_markers(item):
|
def _apply_platform_markers(item):
|
||||||
"""Apply a skip marker to a given item."""
|
"""Apply a skip marker to a given item."""
|
||||||
markers = [
|
markers = [
|
||||||
|
Loading…
Reference in New Issue
Block a user