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

Method testWeeklyByMonth

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

Source from the content-addressed store, hash-verified

762 datetime(1998, 6, 9, 9, 0)])
763
764 def testWeeklyByMonth(self):
765 self.assertEqual(list(rrule(WEEKLY,
766 count=3,
767 bymonth=(1, 3),
768 dtstart=datetime(1997, 9, 2, 9, 0))),
769 [datetime(1998, 1, 6, 9, 0),
770 datetime(1998, 1, 13, 9, 0),
771 datetime(1998, 1, 20, 9, 0)])
772
773 def testWeeklyByMonthDay(self):
774 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected