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

Method testSecondlyByMonthDay

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

Source from the content-addressed store, hash-verified

2021 datetime(1998, 1, 1, 0, 0, 2)])
2022
2023 def testSecondlyByMonthDay(self):
2024 self.assertEqual(list(rrule(SECONDLY,
2025 count=3,
2026 bymonthday=(1, 3),
2027 dtstart=datetime(1997, 9, 2, 9, 0))),
2028 [datetime(1997, 9, 3, 0, 0, 0),
2029 datetime(1997, 9, 3, 0, 0, 1),
2030 datetime(1997, 9, 3, 0, 0, 2)])
2031
2032 def testSecondlyByMonthAndMonthDay(self):
2033 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected