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

Method testStrSpaces

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

Source from the content-addressed store, hash-verified

2774 datetime(1999, 9, 2, 9, 0)])
2775
2776 def testStrSpaces(self):
2777 self.assertEqual(list(rrulestr(
2778 " DTSTART:19970902T090000 "
2779 " RRULE:FREQ=YEARLY;COUNT=3 "
2780 )),
2781 [datetime(1997, 9, 2, 9, 0),
2782 datetime(1998, 9, 2, 9, 0),
2783 datetime(1999, 9, 2, 9, 0)])
2784
2785 def testStrSpacesAndLines(self):
2786 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected