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

Method testSecondlyByEasterNeg

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

Source from the content-addressed store, hash-verified

2208 datetime(1998, 4, 13, 0, 0, 2)])
2209
2210 def testSecondlyByEasterNeg(self):
2211 self.assertEqual(list(rrule(SECONDLY,
2212 count=3,
2213 byeaster=-1,
2214 dtstart=datetime(1997, 9, 2, 9, 0))),
2215 [datetime(1998, 4, 11, 0, 0, 0),
2216 datetime(1998, 4, 11, 0, 0, 1),
2217 datetime(1998, 4, 11, 0, 0, 2)])
2218
2219 def testSecondlyByHour(self):
2220 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected