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

Method testSecondlyByMonth

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

Source from the content-addressed store, hash-verified

2012 datetime(1997, 9, 4, 11, 2, 2)])
2013
2014 def testSecondlyByMonth(self):
2015 self.assertEqual(list(rrule(SECONDLY,
2016 count=3,
2017 bymonth=(1, 3),
2018 dtstart=datetime(1997, 9, 2, 9, 0))),
2019 [datetime(1998, 1, 1, 0, 0, 0),
2020 datetime(1998, 1, 1, 0, 0, 1),
2021 datetime(1998, 1, 1, 0, 0, 2)])
2022
2023 def testSecondlyByMonthDay(self):
2024 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected