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

Method testStrValueDate

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

Source from the content-addressed store, hash-verified

2990 datetime(1998, 9, 2, 9, 0, 0)])
2991
2992 def testStrValueDate(self):
2993 rr = rrulestr("DTSTART;VALUE=DATE:19970902\n"
2994 "RRULE:FREQ=YEARLY;COUNT=2")
2995
2996 self.assertEqual(list(rr), [datetime(1997, 9, 2, 0, 0, 0),
2997 datetime(1998, 9, 2, 0, 0, 0)])
2998
2999 def testStrMultipleDTStartComma(self):
3000 with pytest.raises(ValueError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected