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

Method testMonthlyByNWeekDay

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

Source from the content-addressed store, hash-verified

453 datetime(1997, 11, 17, 0, 0)])
454
455 def testMonthlyByNWeekDay(self):
456 self.assertEqual(list(rrule(MONTHLY,
457 count=3,
458 byweekday=(TU(1), TH(-1)),
459 dtstart=datetime(1997, 9, 2, 9, 0))),
460 [datetime(1997, 9, 2, 9, 0),
461 datetime(1997, 9, 25, 9, 0),
462 datetime(1997, 10, 7, 9, 0)])
463
464 def testMonthlyByNWeekDayLarge(self):
465 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected