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

Method testDailyByEasterNeg

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

Source from the content-addressed store, hash-verified

1266 datetime(2000, 4, 24, 9, 0)])
1267
1268 def testDailyByEasterNeg(self):
1269 self.assertEqual(list(rrule(DAILY,
1270 count=3,
1271 byeaster=-1,
1272 dtstart=datetime(1997, 9, 2, 9, 0))),
1273 [datetime(1998, 4, 11, 9, 0),
1274 datetime(1999, 4, 3, 9, 0),
1275 datetime(2000, 4, 22, 9, 0)])
1276
1277 def testDailyByHour(self):
1278 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected