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

Method testSecondlyByEaster

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

Source from the content-addressed store, hash-verified

2190 datetime(1998, 12, 28, 0, 0, 2)])
2191
2192 def testSecondlyByEaster(self):
2193 self.assertEqual(list(rrule(SECONDLY,
2194 count=3,
2195 byeaster=0,
2196 dtstart=datetime(1997, 9, 2, 9, 0))),
2197 [datetime(1998, 4, 12, 0, 0, 0),
2198 datetime(1998, 4, 12, 0, 0, 1),
2199 datetime(1998, 4, 12, 0, 0, 2)])
2200
2201 def testSecondlyByEasterPos(self):
2202 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected