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

Method testStrSetExDateMultiple

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected