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

Method testDailyByEasterPos

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

Source from the content-addressed store, hash-verified

1257 datetime(2000, 4, 23, 9, 0)])
1258
1259 def testDailyByEasterPos(self):
1260 self.assertEqual(list(rrule(DAILY,
1261 count=3,
1262 byeaster=1,
1263 dtstart=datetime(1997, 9, 2, 9, 0))),
1264 [datetime(1998, 4, 13, 9, 0),
1265 datetime(1999, 4, 5, 9, 0),
1266 datetime(2000, 4, 24, 9, 0)])
1267
1268 def testDailyByEasterNeg(self):
1269 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected