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

Method testUntilNotMatching

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

Source from the content-addressed store, hash-verified

2376 count=3, until=datetime(1997, 9, 4, 9, 0))
2377
2378 def testUntilNotMatching(self):
2379 self.assertEqual(list(rrule(DAILY,
2380 dtstart=datetime(1997, 9, 2, 9, 0),
2381 until=datetime(1997, 9, 5, 8, 0))),
2382 [datetime(1997, 9, 2, 9, 0),
2383 datetime(1997, 9, 3, 9, 0),
2384 datetime(1997, 9, 4, 9, 0)])
2385
2386 def testUntilMatching(self):
2387 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected