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

Method testSecondlyByEaster

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

Source from the content-addressed store, hash-verified

2177 datetime(1998, 12, 28, 0, 0, 2)])
2178
2179 def testSecondlyByEaster(self):
2180 self.assertEqual(list(rrule(SECONDLY,
2181 count=3,
2182 byeaster=0,
2183 dtstart=datetime(1997, 9, 2, 9, 0))),
2184 [datetime(1998, 4, 12, 0, 0, 0),
2185 datetime(1998, 4, 12, 0, 0, 1),
2186 datetime(1998, 4, 12, 0, 0, 2)])
2187
2188 def testSecondlyByEasterPos(self):
2189 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected