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

Method testOffset

tests/test_tz.py:2222–2225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2220 self.assertFalse(tz._isdst(dt))
2221
2222 def testOffset(self):
2223 tz = tzwin.tzwin("Cape Verde Standard Time")
2224 self.assertEqual(tz.utcoffset(datetime(1995, 5, 21, 12, 9, 13)),
2225 timedelta(-1, 82800))
2226
2227 def testTzwinName(self):
2228 # https://github.com/dateutil/dateutil/issues/143

Callers

nothing calls this directly

Calls 1

utcoffsetMethod · 0.45

Tested by

no test coverage detected