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

Method testStrInvalidByDay

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

Source from the content-addressed store, hash-verified

3039 "WKST=SU"))
3040
3041 def testStrInvalidByDay(self):
3042 with self.assertRaises(ValueError):
3043 list(rrulestr("DTSTART:19970902T090000\n"
3044 "FREQ=WEEKLY;"
3045 "BYDAY=-1OK;" # This part is invalid
3046 "WKST=SU"))
3047
3048 def testBadBySetPos(self):
3049 self.assertRaises(ValueError,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected