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

Method testWeeklyByEaster

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

Source from the content-addressed store, hash-verified

947 datetime(2009, 12, 28, 9, 0)])
948
949 def testWeeklyByEaster(self):
950 self.assertEqual(list(rrule(WEEKLY,
951 count=3,
952 byeaster=0,
953 dtstart=datetime(1997, 9, 2, 9, 0))),
954 [datetime(1998, 4, 12, 9, 0),
955 datetime(1999, 4, 4, 9, 0),
956 datetime(2000, 4, 23, 9, 0)])
957
958 def testWeeklyByEasterPos(self):
959 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected