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

Method testStr

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

Source from the content-addressed store, hash-verified

2666 self.assertEqual(datetime(1997, 9, 3, 9, 0) in rr, True)
2667
2668 def testStr(self):
2669 self.assertEqual(list(rrulestr(
2670 "DTSTART:19970902T090000\n"
2671 "RRULE:FREQ=YEARLY;COUNT=3\n"
2672 )),
2673 [datetime(1997, 9, 2, 9, 0),
2674 datetime(1998, 9, 2, 9, 0),
2675 datetime(1999, 9, 2, 9, 0)])
2676
2677 def testStrWithTZID(self):
2678 NYC = tz.gettz('America/New_York')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected