Loosen tolerance on a possibly unstable test
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)
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 829c2f9208535a8c039f6219b5f0f7981f11dc88..036e3e0107cc7334df20e3b9f4f671ecf449492e 100644 (file)
@@ -620,7 +620,7 @@ class TestDynamicFactor_ar2_errors(CheckDynamicFactor):
                 res1.params, method='nm', maxiter=10000,
                 optim_score='approx', 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):