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

Method testUTCEquality

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

Source from the content-addressed store, hash-verified

717 self.assertEqual(utc, gmt)
718
719 def testUTCEquality(self):
720 utc = tz.UTC
721 o_utc = tz.tzoffset('UTC', 0)
722
723 self.assertEqual(utc, o_utc)
724 self.assertEqual(o_utc, utc)
725
726 def testInequalityInvalid(self):
727 tzo = tz.tzoffset('-3', -3 * 3600)

Callers

nothing calls this directly

Calls 1

tzoffsetMethod · 0.80

Tested by

no test coverage detected