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

Method testSecondlyByEasterPos

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

Source from the content-addressed store, hash-verified

2199 datetime(1998, 4, 12, 0, 0, 2)])
2200
2201 def testSecondlyByEasterPos(self):
2202 self.assertEqual(list(rrule(SECONDLY,
2203 count=3,
2204 byeaster=1,
2205 dtstart=datetime(1997, 9, 2, 9, 0))),
2206 [datetime(1998, 4, 13, 0, 0, 0),
2207 datetime(1998, 4, 13, 0, 0, 1),
2208 datetime(1998, 4, 13, 0, 0, 2)])
2209
2210 def testSecondlyByEasterNeg(self):
2211 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected