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

Method testMonthlyByNWeekDay

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

Source from the content-addressed store, hash-verified

466 datetime(1997, 11, 17, 0, 0)])
467
468 def testMonthlyByNWeekDay(self):
469 self.assertEqual(list(rrule(MONTHLY,
470 count=3,
471 byweekday=(TU(1), TH(-1)),
472 dtstart=datetime(1997, 9, 2, 9, 0))),
473 [datetime(1997, 9, 2, 9, 0),
474 datetime(1997, 9, 25, 9, 0),
475 datetime(1997, 10, 7, 9, 0)])
476
477 def testMonthlyByNWeekDayLarge(self):
478 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected