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

Method testMonthlyInterval

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

Source from the content-addressed store, hash-verified

402 datetime(1997, 11, 2, 9, 0)])
403
404 def testMonthlyInterval(self):
405 self.assertEqual(list(rrule(MONTHLY,
406 count=3,
407 interval=2,
408 dtstart=datetime(1997, 9, 2, 9, 0))),
409 [datetime(1997, 9, 2, 9, 0),
410 datetime(1997, 11, 2, 9, 0),
411 datetime(1998, 1, 2, 9, 0)])
412
413 def testMonthlyIntervalLarge(self):
414 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected