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

Method testStrInvalidUntil

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

Source from the content-addressed store, hash-verified

3011 "RRULE:FREQ=YEARLY;COUNT=1")
3012
3013 def testStrInvalidUntil(self):
3014 with self.assertRaises(ValueError):
3015 list(rrulestr("DTSTART:19970902T090000\n"
3016 "RRULE:FREQ=YEARLY;"
3017 "UNTIL=TheCowsComeHome;BYDAY=1TU,-1TH\n"))
3018
3019 def testStrUntilMustBeUTC(self):
3020 with self.assertRaises(ValueError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected