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

Method testStrSetExDateMultiple

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

Source from the content-addressed store, hash-verified

2860 datetime(1997, 9, 16, 9, 0)])
2861
2862 def testStrSetExDateMultiple(self):
2863 rrstr = ("DTSTART:19970902T090000\n"
2864 "RRULE:FREQ=YEARLY;COUNT=6;BYDAY=TU,TH\n"
2865 "EXDATE:19970904T090000,19970911T090000,19970918T090000\n")
2866
2867 rr = rrulestr(rrstr)
2868 assert list(rr) == [datetime(1997, 9, 2, 9, 0),
2869 datetime(1997, 9, 9, 9, 0),
2870 datetime(1997, 9, 16, 9, 0)]
2871
2872 def testStrSetExDateWithTZID(self):
2873 BXL = tz.gettz('Europe/Brussels')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected