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

Method testStrSpacesAndLines

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

Source from the content-addressed store, hash-verified

2783 datetime(1999, 9, 2, 9, 0)])
2784
2785 def testStrSpacesAndLines(self):
2786 self.assertEqual(list(rrulestr(
2787 " DTSTART:19970902T090000 \n"
2788 " \n"
2789 " RRULE:FREQ=YEARLY;COUNT=3 \n"
2790 )),
2791 [datetime(1997, 9, 2, 9, 0),
2792 datetime(1998, 9, 2, 9, 0),
2793 datetime(1999, 9, 2, 9, 0)])
2794
2795 def testStrNoDTStart(self):
2796 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected