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

Method testWeekdayReprWithN

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

Source from the content-addressed store, hash-verified

4899 self.assertEqual(repr(wday), repstr)
4900
4901 def testWeekdayReprWithN(self):
4902 with_n_reprs = ('WE(+1)', 'TH(-2)', 'SU(+3)')
4903 with_n_wdays = (WE(1), TH(-2), SU(+3))
4904
4905 for repstr, wday in zip(with_n_reprs, with_n_wdays):
4906 self.assertEqual(repr(wday), repstr)
4907
4908
4909class TaggedRule(rrule):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected