MCPcopy Create free account
hub / github.com/dateutil/dateutil / testWeeklyByEasterPos

Method testWeeklyByEasterPos

tests/test_rrule.py:958–965  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

956 datetime(2000, 4, 23, 9, 0)])
957
958 def testWeeklyByEasterPos(self):
959 self.assertEqual(list(rrule(WEEKLY,
960 count=3,
961 byeaster=1,
962 dtstart=datetime(1997, 9, 2, 9, 0))),
963 [datetime(1998, 4, 13, 9, 0),
964 datetime(1999, 4, 5, 9, 0),
965 datetime(2000, 4, 24, 9, 0)])
966
967 def testWeeklyByEasterNeg(self):
968 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected