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

Method testUTCEquality

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

Source from the content-addressed store, hash-verified

699 self.assertEqual(utc, gmt)
700
701 def testUTCEquality(self):
702 utc = tz.UTC
703 o_utc = tz.tzoffset('UTC', 0)
704
705 self.assertEqual(utc, o_utc)
706 self.assertEqual(o_utc, utc)
707
708 def testInequalityInvalid(self):
709 tzo = tz.tzoffset('-3', -3 * 3600)

Callers

nothing calls this directly

Calls 1

tzoffsetMethod · 0.80

Tested by

no test coverage detected