diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index db17f1a8f..1117c6cf6 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -1,6 +1,11 @@ import pytest from spacy.util import get_lang_class +from hypothesis import settings +# Functionally disable deadline settings for tests +# to prevent spurious test failures in CI builds. +settings.register_profile("no_deadlines", deadline=2*60*1000) # in ms +settings.load_profile("no_deadlines") def pytest_addoption(parser): try: