1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Roland Mas <lolando@debian.org>
Date: Wed, 11 Sep 2024 16:14:54 +0200
Subject: Increase tolerance to cope with i386
---
test/test_tomopy/test_prep/test_normalize.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_tomopy/test_prep/test_normalize.py b/test/test_tomopy/test_prep/test_normalize.py
index 5184628..d479309 100644
--- a/test/test_tomopy/test_prep/test_normalize.py
+++ b/test/test_tomopy/test_prep/test_normalize.py
@@ -68,7 +68,8 @@ class NormalizationTestCase(unittest.TestCase):
def test_normalize_bg(self):
assert_allclose(
normalize_bg(read_file('tomo.npy')),
- read_file('normalize_bg.npy'))
+ read_file('normalize_bg.npy'),
+ rtol=1e-6)
def test_normalize_nf(self):
assert_allclose(
|