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

Method testContains

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

Source from the content-addressed store, hash-verified

2493 0)
2494
2495 def testContains(self):
2496 rr = rrule(DAILY, count=3, dtstart=datetime(1997, 9, 2, 9, 0))
2497 self.assertEqual(datetime(1997, 9, 3, 9, 0) in rr, True)
2498
2499 def testContainsNot(self):
2500 rr = rrule(DAILY, count=3, dtstart=datetime(1997, 9, 2, 9, 0))

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected