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

Method testMonthlyInterval

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

Source from the content-addressed store, hash-verified

389 datetime(1997, 11, 2, 9, 0)])
390
391 def testMonthlyInterval(self):
392 self.assertEqual(list(rrule(MONTHLY,
393 count=3,
394 interval=2,
395 dtstart=datetime(1997, 9, 2, 9, 0))),
396 [datetime(1997, 9, 2, 9, 0),
397 datetime(1997, 11, 2, 9, 0),
398 datetime(1998, 1, 2, 9, 0)])
399
400 def testMonthlyIntervalLarge(self):
401 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected