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

Method testAddNegativeMonths

tests/test_relativedelta.py:140–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 date(2005, 1, 1))
139
140 def testAddNegativeMonths(self):
141 self.assertEqual(date(2003, 1, 1) + relativedelta(months=-2),
142 date(2002, 11, 1))
143
144 def test15thISOYearWeek(self):
145 self.assertEqual(date(2003, 1, 1) +

Callers

nothing calls this directly

Calls 1

relativedeltaClass · 0.90

Tested by

no test coverage detected