From 9a4a2b507cd1fe34da2374d232dd254edab98bb0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 23 Oct 2015 07:00:21 -0400 Subject: [PATCH] Test: Removed daylight saving sensitivity --- test/recurrence.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/recurrence.t b/test/recurrence.t index 1034b1e7d..67992d2e7 100755 --- a/test/recurrence.t +++ b/test/recurrence.t @@ -125,7 +125,8 @@ class TestRecurrenceWeekdays(TestCase): # The due dates should be Friday and Monday, three days apart, # having skipped the weekend. - self.assertEqual(int(friday.strip()) + 3, int(monday.strip())) + # Note: On daylight savings in the fall, this '3' becomes '2.9583'. + self.assertTrue(int(monday.strip()) - int(friday.strip()) >= 2) class TestRecurrenceUntil(TestCase):