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

Method testStrSpaces

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

Source from the content-addressed store, hash-verified

2767 datetime(1999, 9, 2, 9, 0)])
2768
2769 def testStrSpaces(self):
2770 self.assertEqual(list(rrulestr(
2771 " DTSTART:19970902T090000 "
2772 " RRULE:FREQ=YEARLY;COUNT=3 "
2773 )),
2774 [datetime(1997, 9, 2, 9, 0),
2775 datetime(1998, 9, 2, 9, 0),
2776 datetime(1999, 9, 2, 9, 0)])
2777
2778 def testStrSpacesAndLines(self):
2779 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected