From: Debian Science Maintainers Date: Sat, 21 Sep 2024 11:58:14 +0000 (+0100) Subject: Ignore a non-converging test X-Git-Tag: archive/raspbian/0.14.3+dfsg-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=be92f7302f6f0972901853dd676b94143575afc6;p=statsmodels.git Ignore a non-converging test (it currently does warn about possible non-convergence and it would be better to check that it does so) Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1079789 Forwarded: no Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch --- diff --git a/statsmodels/discrete/tests/test_count_model.py b/statsmodels/discrete/tests/test_count_model.py index 424a633..d495944 100644 --- a/statsmodels/discrete/tests/test_count_model.py +++ b/statsmodels/discrete/tests/test_count_model.py @@ -1,4 +1,5 @@ from statsmodels.compat.platform import PLATFORM_LINUX32 +import platform import numpy as np from numpy.testing import ( @@ -109,7 +110,7 @@ class TestZeroInflatedModel_probit(CheckGeneric): res2 = RandHIE.zero_inflated_poisson_probit cls.res2 = res2 - @pytest.mark.skipif(PLATFORM_LINUX32, reason="Fails on 32-bit Linux") + @pytest.mark.skipif(PLATFORM_LINUX32 or platform.uname()[4].startswith('aarch'), strict=False, reason="convergence issues, https://bugs.debian.org/1079789") def test_fit_regularized(self): super().test_fit_regularized()