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

Method testGetItemNeg

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

Source from the content-addressed store, hash-verified

2454 datetime(1997, 9, 2, 9, 0))
2455
2456 def testGetItemNeg(self):
2457 self.assertEqual(rrule(DAILY,
2458 count=3,
2459 dtstart=datetime(1997, 9, 2, 9, 0))[-1],
2460 datetime(1997, 9, 4, 9, 0))
2461
2462 def testGetItemSlice(self):
2463 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected