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

Method testDailyByEasterPos

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

Source from the content-addressed store, hash-verified

1270 datetime(2000, 4, 23, 9, 0)])
1271
1272 def testDailyByEasterPos(self):
1273 self.assertEqual(list(rrule(DAILY,
1274 count=3,
1275 byeaster=1,
1276 dtstart=datetime(1997, 9, 2, 9, 0))),
1277 [datetime(1998, 4, 13, 9, 0),
1278 datetime(1999, 4, 5, 9, 0),
1279 datetime(2000, 4, 24, 9, 0)])
1280
1281 def testDailyByEasterNeg(self):
1282 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected