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

Method testEquality

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

Source from the content-addressed store, hash-verified

693 self.assertEqual(repr(tzo), "tzoffset(" + repr(tname) + ", -18000)")
694
695 def testEquality(self):
696 utc = tz.tzoffset('UTC', 0)
697 gmt = tz.tzoffset('GMT', 0)
698
699 self.assertEqual(utc, gmt)
700
701 def testUTCEquality(self):
702 utc = tz.UTC

Callers

nothing calls this directly

Calls 1

tzoffsetMethod · 0.80

Tested by

no test coverage detected