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

Method testGetItemSliceEmpty

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

Source from the content-addressed store, hash-verified

2476 [datetime(1997, 9, 3, 9, 0)])
2477
2478 def testGetItemSliceEmpty(self):
2479 self.assertEqual(rrule(DAILY,
2480 count=3,
2481 dtstart=datetime(1997, 9, 2, 9, 0))[:],
2482 [datetime(1997, 9, 2, 9, 0),
2483 datetime(1997, 9, 3, 9, 0),
2484 datetime(1997, 9, 4, 9, 0)])
2485
2486 def testGetItemSliceStep(self):
2487 self.assertEqual(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected