Ignore test exception on big-endian systems
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Jan 2024 09:38:29 +0000 (09:38 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Jan 2024 09:38:29 +0000 (09:38 +0000)
failed in 0.14.1+dfsg-1

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_dynamic_factor_news_bigendian.patch

statsmodels/tsa/statespace/tests/test_dynamic_factor_mq_frbny_nowcast.py

index 77bac66878cdf166f2e1467a81284253f877cf63..2f1b38b561da8f5a3b22e329ae5a63a568a6d7ec 100644 (file)
@@ -400,6 +400,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):