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

Method testWeeklyByMonthAndNWeekDay

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

Source from the content-addressed store, hash-verified

821 datetime(1998, 1, 8, 9, 0)])
822
823 def testWeeklyByMonthAndNWeekDay(self):
824 self.assertEqual(list(rrule(WEEKLY,
825 count=3,
826 bymonth=(1, 3),
827 byweekday=(TU(1), TH(-1)),
828 dtstart=datetime(1997, 9, 2, 9, 0))),
829 [datetime(1998, 1, 1, 9, 0),
830 datetime(1998, 1, 6, 9, 0),
831 datetime(1998, 1, 8, 9, 0)])
832
833 def testWeeklyByMonthDayAndWeekDay(self):
834 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected