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

Method testAdditionInvalidType

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

Source from the content-addressed store, hash-verified

212 datetime(2000, 1, 2))
213
214 def testAdditionInvalidType(self):
215 with self.assertRaises(TypeError):
216 relativedelta(days=3) + 9
217
218 def testAdditionUnsupportedType(self):
219 # For unsupported types that define their own comparators, etc.

Callers

nothing calls this directly

Calls 1

relativedeltaClass · 0.90

Tested by

no test coverage detected