Ignore test exception on big-endian systems
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Apr 2024 19:55:32 +0000 (20:55 +0100)
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 d03f0f80f003a0b7cac79bce3fd6a8b756dea49b..4adcfca87328442b9197d83ad21f3ac43d09a0d8 100644 (file)
@@ -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):