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

Method testUntilMatching

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

Source from the content-addressed store, hash-verified

2374 datetime(1997, 9, 4, 9, 0)])
2375
2376 def testUntilMatching(self):
2377 self.assertEqual(list(rrule(DAILY,
2378 dtstart=datetime(1997, 9, 2, 9, 0),
2379 until=datetime(1997, 9, 4, 9, 0))),
2380 [datetime(1997, 9, 2, 9, 0),
2381 datetime(1997, 9, 3, 9, 0),
2382 datetime(1997, 9, 4, 9, 0)])
2383
2384 def testUntilSingle(self):
2385 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected