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

Method testHourlyByMonth

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

Source from the content-addressed store, hash-verified

1380 datetime(1997, 11, 5, 11, 0)])
1381
1382 def testHourlyByMonth(self):
1383 self.assertEqual(list(rrule(HOURLY,
1384 count=3,
1385 bymonth=(1, 3),
1386 dtstart=datetime(1997, 9, 2, 9, 0))),
1387 [datetime(1998, 1, 1, 0, 0),
1388 datetime(1998, 1, 1, 1, 0),
1389 datetime(1998, 1, 1, 2, 0)])
1390
1391 def testHourlyByMonthDay(self):
1392 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected