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

Method testEquality

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

Source from the content-addressed store, hash-verified

792@pytest.mark.tzlocal
793class TzLocalTest(unittest.TestCase):
794 def testEquality(self):
795 tz1 = tz.tzlocal()
796 tz2 = tz.tzlocal()
797
798 # Explicitly calling == and != here to ensure the operators work
799 self.assertTrue(tz1 == tz2)
800 self.assertFalse(tz1 != tz2)
801
802 def testInequalityFixedOffset(self):
803 tzl = tz.tzlocal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected