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

Method testTzOffsetInstance

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

Source from the content-addressed store, hash-verified

742 self.assertFalse(tz.datetime_ambiguous(dt))
743
744 def testTzOffsetInstance(self):
745 tz1 = tz.tzoffset.instance('EST', timedelta(hours=-5))
746 tz2 = tz.tzoffset.instance('EST', timedelta(hours=-5))
747
748 assert tz1 is not tz2
749
750 def testTzOffsetSingletonDifferent(self):
751 tz1 = tz.tzoffset('EST', timedelta(hours=-5))

Callers

nothing calls this directly

Calls 1

instanceMethod · 0.80

Tested by

no test coverage detected