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

Method testStrNWeekDay

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

Source from the content-addressed store, hash-verified

2973 datetime(2072, 3, 3, 3, 3, 3)])
2974
2975 def testStrNWeekDay(self):
2976 self.assertEqual(list(rrulestr(
2977 "DTSTART:19970902T090000\n"
2978 "RRULE:FREQ=YEARLY;COUNT=3;BYDAY=1TU,-1TH\n"
2979 )),
2980 [datetime(1997, 12, 25, 9, 0),
2981 datetime(1998, 1, 6, 9, 0),
2982 datetime(1998, 12, 31, 9, 0)])
2983
2984 def testStrUntil(self):
2985 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected