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

Method testGetItemSlice

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

Source from the content-addressed store, hash-verified

2460 datetime(1997, 9, 4, 9, 0))
2461
2462 def testGetItemSlice(self):
2463 self.assertEqual(rrule(DAILY,
2464 # count=3,
2465 dtstart=datetime(1997, 9, 2, 9, 0))[1:2],
2466 [datetime(1997, 9, 3, 9, 0)])
2467
2468 def testGetItemSliceEmpty(self):
2469 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected