Ignore a non-converging test
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 1 Sep 2024 10:18:24 +0000 (11:18 +0100)
(it currently does warn about possible non-convergence and
it would be better to check that it does so)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1079789
Forwarded: no

Gbp-Pq: Name 1079789_ignore_arm64_nonconvergence.patch

statsmodels/discrete/tests/test_count_model.py

index 424a633e20787da4cf965ce17720a76483222af7..d495944ac85732a1175c29c9fd8e7ce933c7ce17 100644 (file)
@@ -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()