From 0c3b50dc5ae54811fb1c8403b3c0e051c0e141a1 Mon Sep 17 00:00:00 2001 From: Merlin Fisher-Levine Date: Sat, 2 Apr 2022 05:56:13 -0500 Subject: [PATCH] Temporarily disable tests which seemingly fail at random --- tests/test_fitter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_fitter.py b/tests/test_fitter.py index a6d949e48..a90de93d6 100644 --- a/tests/test_fitter.py +++ b/tests/test_fitter.py @@ -36,7 +36,7 @@ def simulate(self, a, b): return self.x, self.model, self.model_err -@unittest.skipIf(sys.platform == "darwin", 'Skipping because macOS 11.0 passes but 10.15 fails ' +@unittest.skip('Numerical instability/lack of random seeding is assumed make these tests fail randomly on ' 'some np.all() asserts in this package. Attempt to turn back on as part of DM-33747.') def test_fitworkspace(): # Create mock data @@ -87,7 +87,7 @@ def lnprob(p): assert np.all([np.abs(w.p[i] - truth[i]) / np.sqrt(w.cov[i, i]) < 3 for i in range(w.ndim)]) -@unittest.skipIf(sys.platform == "darwin", 'Skipping because macOS 11.0 passes but 10.15 fails ' +@unittest.skip('Numerical instability/lack of random seeding is assumed make these tests fail randomly on ' 'some np.all() asserts in this package. Attempt to turn back on as part of DM-33747.') def test_minimisation_sigma_clipping(): # Create mock data