From: Debian Science Maintainers Date: Sat, 21 Sep 2024 11:58:14 +0000 (+0100) Subject: Ignore test exception on big-endian systems X-Git-Tag: archive/raspbian/0.14.3+dfsg-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e5e65531b6c3dcf08a58d445a4ab542fe1cdcb8a;p=statsmodels.git Ignore test exception on big-endian systems failed in 0.14.1+dfsg-1 Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch --- diff --git a/statsmodels/tsa/statespace/tests/test_dynamic_factor_mq_frbny_nowcast.py b/statsmodels/tsa/statespace/tests/test_dynamic_factor_mq_frbny_nowcast.py index d03f0f8..4adcfca 100644 --- a/statsmodels/tsa/statespace/tests/test_dynamic_factor_mq_frbny_nowcast.py +++ b/statsmodels/tsa/statespace/tests/test_dynamic_factor_mq_frbny_nowcast.py @@ -405,6 +405,8 @@ def test_emstep_methods_nonmissing(matlab_results, k_factors, factor_orders, assert_allclose(H_nonmissing, H, atol=1e-13) +import sys +@pytest.mark.xfail(condition=sys.byteorder=='big',reason="fails on big-endian, see 0.14.1+dfsg-1 build logs",raises=ValueError,strict=False) @pytest.mark.parametrize("run", ['news_112', 'news_222', 'news_block_112', pytest.param('news_block_222',marks=pytest.mark.xfail(condition=sys.maxsize<2**33,reason="too memory-heavy for armel,armhf,mipsel",raises=MemoryError,strict=False))]) def test_news(matlab_results, run):