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

Method testWeeklyByNWeekDay

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

Source from the content-addressed store, hash-verified

799 datetime(1997, 9, 9, 9, 0)])
800
801 def testWeeklyByNWeekDay(self):
802 self.assertEqual(list(rrule(WEEKLY,
803 count=3,
804 byweekday=(TU(1), TH(-1)),
805 dtstart=datetime(1997, 9, 2, 9, 0))),
806 [datetime(1997, 9, 2, 9, 0),
807 datetime(1997, 9, 4, 9, 0),
808 datetime(1997, 9, 9, 9, 0)])
809
810 def testWeeklyByMonthAndWeekDay(self):
811 # This test is interesting, because it crosses the year

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected