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

Method testBoolean

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

Source from the content-addressed store, hash-verified

289 self.assertIs(relativedelta(days=1) / NotAValue, NotAValue)
290
291 def testBoolean(self):
292 self.assertFalse(relativedelta(days=0))
293 self.assertTrue(relativedelta(days=1))
294
295 def testAbsoluteValueNegative(self):
296 rd_base = relativedelta(years=-1, months=-5, days=-2, hours=-3,

Callers

nothing calls this directly

Calls 1

relativedeltaClass · 0.90

Tested by

no test coverage detected