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

Method testStrSetExRule

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

Source from the content-addressed store, hash-verified

2838 datetime(1997, 9, 9, 9, 0)])
2839
2840 def testStrSetExRule(self):
2841 self.assertEqual(list(rrulestr(
2842 "DTSTART:19970902T090000\n"
2843 "RRULE:FREQ=YEARLY;COUNT=6;BYDAY=TU,TH\n"
2844 "EXRULE:FREQ=YEARLY;COUNT=3;BYDAY=TH\n"
2845 )),
2846 [datetime(1997, 9, 2, 9, 0),
2847 datetime(1997, 9, 9, 9, 0),
2848 datetime(1997, 9, 16, 9, 0)])
2849
2850 def testStrSetExDate(self):
2851 self.assertEqual(list(rrulestr(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected