mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Test: Removed daylight saving sensitivity
This commit is contained in:
parent
c2c6b051ff
commit
9a4a2b507c
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue