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

Method testStrSetExDateValueDate

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

Source from the content-addressed store, hash-verified

2919 datetime(1997, 9, 11, 9, tzinfo=BXL)]
2920
2921 def testStrSetExDateValueDate(self):
2922 rrstr = '\n'.join([
2923 "DTSTART;VALUE=DATE:19970902",
2924 "RRULE:FREQ=YEARLY;COUNT=4;BYDAY=TU,TH",
2925 "EXDATE;VALUE=DATE:19970902",
2926 "EXDATE;VALUE=DATE:19970909",
2927 ])
2928
2929 rr = rrulestr(rrstr)
2930 assert list(rr) == [datetime(1997, 9, 4), datetime(1997, 9, 11)]
2931
2932 def testStrSetDateAndExDate(self):
2933 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected