summaryrefslogtreecommitdiff
path: root/t/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 't/utils.py')
-rw-r--r--t/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/utils.py b/t/utils.py
index 5772fac..da9a9c1 100644
--- a/t/utils.py
+++ b/t/utils.py
@@ -23,7 +23,7 @@ class AergiaUnitTestCase(unittest.TestCase):
def assertRoughlyEqual(self, v1, v2):
a = abs(v1 - v2)
- self.assertTrue(a <= 1, f'{v1} (expected) not roughly {v2} (actual)')
+ self.assertTrue(a <= 2, f'{v1} (expected) not roughly {v2} (actual)')
def expected_samples(self, total_seconds):
return (total_seconds / self.interval)