arm64 - TestZeroInflatedModel_probit convergence issues
armel, mips64el - tests sometimes crash (ignored in d/rules)
Wrong answers have previously been seen on armel, and
could be hidden by the crash
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/968210
Forwarded: no
Gbp-Pq: Name 968210_ignore_tests.patch
+import platform
+import sys
+import os.path
+if os.path.exists('/usr/lib/arm-linux-gnueabi') or ('mips' in platform.uname()[4].lower() and sys.maxsize>2**33):
+ import warnings
+ warnings.warn("This appears to be an armel or mips64el system, on which statsmodels is buggy (crashes and possibly wrong answers) - https://bugs.debian.org/968210")
from statsmodels._version import get_versions
from statsmodels.compat.platform import PLATFORM_LINUX32
+import platform
import numpy as np
from numpy.testing import (
res2 = RandHIE.zero_inflated_poisson_probit
cls.res2 = res2
- @pytest.mark.skipif(PLATFORM_LINUX32, reason="Fails on 32-bit Linux")
+ @pytest.mark.xfail(condition=PLATFORM_LINUX32 or platform.uname()[4].startswith('aarch'), strict=False, reason="convergence issues, https://bugs.debian.org/968210")
def test_fit_regularized(self):
super().test_fit_regularized()