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

Method testHourlyByEasterPos

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

Source from the content-addressed store, hash-verified

1567 datetime(1998, 4, 12, 2, 0)])
1568
1569 def testHourlyByEasterPos(self):
1570 self.assertEqual(list(rrule(HOURLY,
1571 count=3,
1572 byeaster=1,
1573 dtstart=datetime(1997, 9, 2, 9, 0))),
1574 [datetime(1998, 4, 13, 0, 0),
1575 datetime(1998, 4, 13, 1, 0),
1576 datetime(1998, 4, 13, 2, 0)])
1577
1578 def testHourlyByEasterNeg(self):
1579 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected