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

Method testGetItemSliceStep

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected