Accepting request 916131 from devel:languages:python:numeric

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/916131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2021-09-03 19:26:13 +00:00 committed by Git OBS Bridge
commit 8e610b8e7b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 27 10:02:29 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Suppress hypothesis health check for slow OBS episodes
-------------------------------------------------------------------
Wed Aug 18 11:19:36 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -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