From: Debian Science Maintainers Date: Sat, 19 Aug 2023 20:59:16 +0000 (+0100) Subject: Allow a memory-heavy test to run out of memory X-Git-Tag: archive/raspbian/0.14.0+dfsg-5+rpi1^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fe888067f50fe4da4572dd4712a73b7606bec9b2;p=statsmodels.git Allow a memory-heavy test to run out of memory Failed in 0.14.0 on armel,armhf,mipsel (but not i386) Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name xfail_out_of_memory.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 43b20cc..49fb1a1 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 @@ -1,4 +1,5 @@ import os +import sys import numpy as np import pandas as pd from scipy.io import matlab @@ -400,7 +401,7 @@ def test_emstep_methods_nonmissing(matlab_results, k_factors, factor_orders, @pytest.mark.parametrize("run", ['news_112', 'news_222', 'news_block_112', - 'news_block_222']) + 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): endog_M, endog_Q = matlab_results[:2] results = matlab_results[2][run]