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

Method testMonthlyByMonth

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

Source from the content-addressed store, hash-verified

420 datetime(2000, 9, 2, 9, 0)])
421
422 def testMonthlyByMonth(self):
423 self.assertEqual(list(rrule(MONTHLY,
424 count=3,
425 bymonth=(1, 3),
426 dtstart=datetime(1997, 9, 2, 9, 0))),
427 [datetime(1998, 1, 2, 9, 0),
428 datetime(1998, 3, 2, 9, 0),
429 datetime(1999, 1, 2, 9, 0)])
430
431 def testMonthlyByMonthDay(self):
432 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected