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

Method testMonthOverflow

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

Source from the content-addressed store, hash-verified

339 self.assertFalse(wday_tu == wday_mo_1)
340
341 def testMonthOverflow(self):
342 self.assertEqual(relativedelta(months=273),
343 relativedelta(years=22, months=9))
344
345 def testWeeks(self):
346 # Test that the weeks property is working properly.

Callers

nothing calls this directly

Calls 1

relativedeltaClass · 0.90

Tested by

no test coverage detected