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

Method testStrEmptyByDay

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

Source from the content-addressed store, hash-verified

3022 datetime(1998, 1, 1, 0, 0, 0, tzinfo=NYC)])
3023
3024 def testStrEmptyByDay(self):
3025 with self.assertRaises(ValueError):
3026 list(rrulestr("DTSTART:19970902T090000\n"
3027 "FREQ=WEEKLY;"
3028 "BYDAY=;" # This part is invalid
3029 "WKST=SU"))
3030
3031 def testStrInvalidByDay(self):
3032 with self.assertRaises(ValueError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected