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

Method testStrUntilMustBeUTC

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

Source from the content-addressed store, hash-verified

3017 "UNTIL=TheCowsComeHome;BYDAY=1TU,-1TH\n"))
3018
3019 def testStrUntilMustBeUTC(self):
3020 with self.assertRaises(ValueError):
3021 list(rrulestr("DTSTART;TZID=America/New_York:19970902T090000\n"
3022 "RRULE:FREQ=YEARLY;"
3023 "UNTIL=19990101T000000;BYDAY=1TU,-1TH\n"))
3024
3025 def testStrUntilWithTZ(self):
3026 NYC = tz.gettz('America/New_York')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected