From 0a4b093aa9fff64b397ece84d00342a08faeaf548db5559c5aefe40f4982b6b8 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Fri, 27 Aug 2021 10:04:37 +0000 Subject: [PATCH] - Suppress hypothesis health check for slow OBS episodes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=59 --- python-astropy.changes | 5 +++++ python-astropy.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-astropy.changes b/python-astropy.changes index 4627151..63d09a2 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 27 10:02:29 UTC 2021 - Ben Greiner + +- Suppress hypothesis health check for slow OBS episodes + ------------------------------------------------------------------- Wed Aug 18 11:19:36 UTC 2021 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 9f999ef..5549e07 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -173,7 +173,11 @@ sed -i "/enable_deprecations_as_exceptions(/,/)/ d" astropy/conftest.py # increase test deadline for slow obs executions (e.g. on s390x) echo " import hypothesis -hypothesis.settings.register_profile('obs', deadline=5000) +hypothesis.settings.register_profile( + 'obs', + deadline=5000, + suppress_health_check=[hypothesis.HealthCheck.too_slow] +) " >> astropy/conftest.py %build