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

Method testGetItemSliceEmpty

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

Source from the content-addressed store, hash-verified

2466 [datetime(1997, 9, 3, 9, 0)])
2467
2468 def testGetItemSliceEmpty(self):
2469 self.assertEqual(rrule(DAILY,
2470 count=3,
2471 dtstart=datetime(1997, 9, 2, 9, 0))[:],
2472 [datetime(1997, 9, 2, 9, 0),
2473 datetime(1997, 9, 3, 9, 0),
2474 datetime(1997, 9, 4, 9, 0)])
2475
2476 def testGetItemSliceStep(self):
2477 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected