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

Method testMonthlyByEasterPos

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

Source from the content-addressed store, hash-verified

626 datetime(2000, 4, 23, 9, 0)])
627
628 def testMonthlyByEasterPos(self):
629 self.assertEqual(list(rrule(MONTHLY,
630 count=3,
631 byeaster=1,
632 dtstart=datetime(1997, 9, 2, 9, 0))),
633 [datetime(1998, 4, 13, 9, 0),
634 datetime(1999, 4, 5, 9, 0),
635 datetime(2000, 4, 24, 9, 0)])
636
637 def testMonthlyByEasterNeg(self):
638 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected