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

Method testSecondlyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

2045 datetime(1997, 9, 2, 9, 0, 2)])
2046
2047 def testSecondlyByMonthAndWeekDay(self):
2048 self.assertEqual(list(rrule(SECONDLY,
2049 count=3,
2050 bymonth=(1, 3),
2051 byweekday=(TU, TH),
2052 dtstart=datetime(1997, 9, 2, 9, 0))),
2053 [datetime(1998, 1, 1, 0, 0, 0),
2054 datetime(1998, 1, 1, 0, 0, 1),
2055 datetime(1998, 1, 1, 0, 0, 2)])
2056
2057 def testSecondlyByMonthAndNWeekDay(self):
2058 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected