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

Method testSecondlyByMonth

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

Source from the content-addressed store, hash-verified

1999 datetime(1997, 9, 4, 11, 2, 2)])
2000
2001 def testSecondlyByMonth(self):
2002 self.assertEqual(list(rrule(SECONDLY,
2003 count=3,
2004 bymonth=(1, 3),
2005 dtstart=datetime(1997, 9, 2, 9, 0))),
2006 [datetime(1998, 1, 1, 0, 0, 0),
2007 datetime(1998, 1, 1, 0, 0, 1),
2008 datetime(1998, 1, 1, 0, 0, 2)])
2009
2010 def testSecondlyByMonthDay(self):
2011 self.assertEqual(list(rrule(SECONDLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected