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

Method testEquality

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

Source from the content-addressed store, hash-verified

711 self.assertEqual(repr(tzo), "tzoffset(" + repr(tname) + ", -18000)")
712
713 def testEquality(self):
714 utc = tz.tzoffset('UTC', 0)
715 gmt = tz.tzoffset('GMT', 0)
716
717 self.assertEqual(utc, gmt)
718
719 def testUTCEquality(self):
720 utc = tz.UTC

Callers

nothing calls this directly

Calls 1

tzoffsetMethod · 0.80

Tested by

no test coverage detected