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

Method testStr

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

Source from the content-addressed store, hash-verified

2656 self.assertEqual(datetime(1997, 9, 3, 9, 0) in rr, True)
2657
2658 def testStr(self):
2659 self.assertEqual(list(rrulestr(
2660 "DTSTART:19970902T090000\n"
2661 "RRULE:FREQ=YEARLY;COUNT=3\n"
2662 )),
2663 [datetime(1997, 9, 2, 9, 0),
2664 datetime(1998, 9, 2, 9, 0),
2665 datetime(1999, 9, 2, 9, 0)])
2666
2667 def testXNamed(self):
2668 self.assertEqual(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected