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

Method testGetItemNeg

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

Source from the content-addressed store, hash-verified

2464 datetime(1997, 9, 2, 9, 0))
2465
2466 def testGetItemNeg(self):
2467 self.assertEqual(rrule(DAILY,
2468 count=3,
2469 dtstart=datetime(1997, 9, 2, 9, 0))[-1],
2470 datetime(1997, 9, 4, 9, 0))
2471
2472 def testGetItemSlice(self):
2473 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected