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

Method testWeeklyByMonthAndMonthDay

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

Source from the content-addressed store, hash-verified

780 datetime(1997, 10, 3, 9, 0)])
781
782 def testWeeklyByMonthAndMonthDay(self):
783 self.assertEqual(list(rrule(WEEKLY,
784 count=3,
785 bymonth=(1, 3),
786 bymonthday=(5, 7),
787 dtstart=datetime(1997, 9, 2, 9, 0))),
788 [datetime(1998, 1, 5, 9, 0),
789 datetime(1998, 1, 7, 9, 0),
790 datetime(1998, 3, 5, 9, 0)])
791
792 def testWeeklyByWeekDay(self):
793 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected