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

Method testGetItemSlice

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

Source from the content-addressed store, hash-verified

2470 datetime(1997, 9, 4, 9, 0))
2471
2472 def testGetItemSlice(self):
2473 self.assertEqual(rrule(DAILY,
2474 # count=3,
2475 dtstart=datetime(1997, 9, 2, 9, 0))[1:2],
2476 [datetime(1997, 9, 3, 9, 0)])
2477
2478 def testGetItemSliceEmpty(self):
2479 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected