From 67dd4251f758a695dab05e206a32199ccee6c214 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 25 Oct 2022 16:15:07 +0200 Subject: [PATCH] Fix assertAlmostEqual call to compare absolute difference --- regression-tests.recursor-dnssec/test_LockedCache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests.recursor-dnssec/test_LockedCache.py b/regression-tests.recursor-dnssec/test_LockedCache.py index 4977f76a62..9a58d97752 100644 --- a/regression-tests.recursor-dnssec/test_LockedCache.py +++ b/regression-tests.recursor-dnssec/test_LockedCache.py @@ -102,4 +102,4 @@ class testNotLockedCache(RecursorTest): self.assertRRsetInAnswer(res, expected2) self.assertMatchingRRSIGInAnswer(res, expected2) ttl2 = self.getCacheTTL() - self.assertAlmostEqual(ttl1, ttl2, 1) + self.assertAlmostEqual(ttl1, ttl2, delta=1) -- 2.47.2