From ad8aeec0691fad27a648f4b57404f16b2cdf80488d6b172ca862d4bb3c76a87d 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 | 4 ++-- python-astropy.spec | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-astropy.changes b/python-astropy.changes index 1d8c3b0..d05228b 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a13b83a2d66c2a9e62543e14a2802fbe8667fab64a20a1cc9f3a9067bb05deb6 -size 252094 +oid sha256:4fdc97e22407a41eddd42ad34722240373306244cf0f923776d52f995f185e18 +size 252285 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