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

Method testWeekdayReprNoN

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

Source from the content-addressed store, hash-verified

4892 self.assertNotEqual(WE(2), WE_Basic3)
4893
4894 def testWeekdayReprNoN(self):
4895 no_n_reprs = ('MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU')
4896 no_n_wdays = (MO, TU, WE, TH, FR, SA, SU)
4897
4898 for repstr, wday in zip(no_n_reprs, no_n_wdays):
4899 self.assertEqual(repr(wday), repstr)
4900
4901 def testWeekdayReprWithN(self):
4902 with_n_reprs = ('WE(+1)', 'TH(-2)', 'SU(+3)')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected