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

Method testStrSetExDateValueDate

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

Source from the content-addressed store, hash-verified

2910 datetime(1997, 9, 11, 9, tzinfo=BXL)]
2911
2912 def testStrSetExDateValueDate(self):
2913 rrstr = '\n'.join([
2914 "DTSTART;VALUE=DATE:19970902",
2915 "RRULE:FREQ=YEARLY;COUNT=4;BYDAY=TU,TH",
2916 "EXDATE;VALUE=DATE:19970902",
2917 "EXDATE;VALUE=DATE:19970909",
2918 ])
2919
2920 rr = rrulestr(rrstr)
2921 assert list(rr) == [datetime(1997, 9, 4), datetime(1997, 9, 11)]
2922
2923 def testStrSetDateAndExDate(self):
2924 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected