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

Method testMonthlyByEasterPos

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

Source from the content-addressed store, hash-verified

639 datetime(2000, 4, 23, 9, 0)])
640
641 def testMonthlyByEasterPos(self):
642 self.assertEqual(list(rrule(MONTHLY,
643 count=3,
644 byeaster=1,
645 dtstart=datetime(1997, 9, 2, 9, 0))),
646 [datetime(1998, 4, 13, 9, 0),
647 datetime(1999, 4, 5, 9, 0),
648 datetime(2000, 4, 24, 9, 0)])
649
650 def testMonthlyByEasterNeg(self):
651 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected