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

Method testUntilMatching

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

Source from the content-addressed store, hash-verified

2384 datetime(1997, 9, 4, 9, 0)])
2385
2386 def testUntilMatching(self):
2387 self.assertEqual(list(rrule(DAILY,
2388 dtstart=datetime(1997, 9, 2, 9, 0),
2389 until=datetime(1997, 9, 4, 9, 0))),
2390 [datetime(1997, 9, 2, 9, 0),
2391 datetime(1997, 9, 3, 9, 0),
2392 datetime(1997, 9, 4, 9, 0)])
2393
2394 def testUntilSingle(self):
2395 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected