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

Method testMonthlyByMonth

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

Source from the content-addressed store, hash-verified

407 datetime(2000, 9, 2, 9, 0)])
408
409 def testMonthlyByMonth(self):
410 self.assertEqual(list(rrule(MONTHLY,
411 count=3,
412 bymonth=(1, 3),
413 dtstart=datetime(1997, 9, 2, 9, 0))),
414 [datetime(1998, 1, 2, 9, 0),
415 datetime(1998, 3, 2, 9, 0),
416 datetime(1999, 1, 2, 9, 0)])
417
418 def testMonthlyByMonthDay(self):
419 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected