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

Method testSecondlyByNWeekDay

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

Source from the content-addressed store, hash-verified

2036 datetime(1997, 9, 2, 9, 0, 2)])
2037
2038 def testSecondlyByNWeekDay(self):
2039 self.assertEqual(list(rrule(SECONDLY,
2040 count=3,
2041 byweekday=(TU(1), TH(-1)),
2042 dtstart=datetime(1997, 9, 2, 9, 0))),
2043 [datetime(1997, 9, 2, 9, 0, 0),
2044 datetime(1997, 9, 2, 9, 0, 1),
2045 datetime(1997, 9, 2, 9, 0, 2)])
2046
2047 def testSecondlyByMonthAndWeekDay(self):
2048 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected