Loosen tolerance on a possibly unstable test
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Thu, 18 Dec 2025 07:37:30 +0000 (07:37 +0000)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1020060 and 1014278
Forwarded: https://github.com/statsmodels/statsmodels/issues/8341

Gbp-Pq: Name 1020060_loosen_test_tolerance.patch

statsmodels/tsa/statespace/tests/test_dynamic_factor.py

index 6d7c650e59ed8f63cd68c3f95ad243bf6f6e34fa..f90a1db7c16478fe96df38b24a08dd0eba2b41b6 100644 (file)
@@ -629,7 +629,7 @@ class TestDynamicFactor_ar2_errors(CheckDynamicFactor):
                 disp=False
             )
             # Added rtol to catch spurious failures on some platforms
-            assert_allclose(res.llf, self.results.llf, atol=1e-2, rtol=1e-4)
+            assert_allclose(res.llf, self.results.llf, atol=1e-2, rtol=1e-2)
 
 
 class TestDynamicFactor_scalar_error(CheckDynamicFactor):