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

Method testMonthOverflow

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

Source from the content-addressed store, hash-verified

348 self.assertFalse(wday_tu == wday_mo_1)
349
350 def testMonthOverflow(self):
351 self.assertEqual(relativedelta(months=273),
352 relativedelta(years=22, months=9))
353
354 def testWeeks(self):
355 # Test that the weeks property is working properly.

Callers

nothing calls this directly

Calls 1

relativedeltaClass · 0.90

Tested by

no test coverage detected