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

Method testWeeklyByMonthAndNWeekDay

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

Source from the content-addressed store, hash-verified

808 datetime(1998, 1, 8, 9, 0)])
809
810 def testWeeklyByMonthAndNWeekDay(self):
811 self.assertEqual(list(rrule(WEEKLY,
812 count=3,
813 bymonth=(1, 3),
814 byweekday=(TU(1), TH(-1)),
815 dtstart=datetime(1997, 9, 2, 9, 0))),
816 [datetime(1998, 1, 1, 9, 0),
817 datetime(1998, 1, 6, 9, 0),
818 datetime(1998, 1, 8, 9, 0)])
819
820 def testWeeklyByMonthDayAndWeekDay(self):
821 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected