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

Method testYearly

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

Source from the content-addressed store, hash-verified

59 self.assertEqual(str(rrulestr(rr_str)), rr_str)
60
61 def testYearly(self):
62 self.assertEqual(list(rrule(YEARLY,
63 count=3,
64 dtstart=datetime(1997, 9, 2, 9, 0))),
65 [datetime(1997, 9, 2, 9, 0),
66 datetime(1998, 9, 2, 9, 0),
67 datetime(1999, 9, 2, 9, 0)])
68
69 def testYearlyInterval(self):
70 self.assertEqual(list(rrule(YEARLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected