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

Method testUntilNotMatching

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

Source from the content-addressed store, hash-verified

2366 count=3, until=datetime(1997, 9, 4, 9, 0))
2367
2368 def testUntilNotMatching(self):
2369 self.assertEqual(list(rrule(DAILY,
2370 dtstart=datetime(1997, 9, 2, 9, 0),
2371 until=datetime(1997, 9, 5, 8, 0))),
2372 [datetime(1997, 9, 2, 9, 0),
2373 datetime(1997, 9, 3, 9, 0),
2374 datetime(1997, 9, 4, 9, 0)])
2375
2376 def testUntilMatching(self):
2377 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected