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

Method testTimeOnlyDSTLocalUTC

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

Source from the content-addressed store, hash-verified

948 None)
949
950 def testTimeOnlyDSTLocalUTC(self):
951 with TZEnvContext(self.UTC):
952 self.assertEqual(dt_time(13, 20, tzinfo=tz.tzlocal()).dst(),
953 timedelta(0))
954
955 def testTimeOnlyDSTLocalDST(self):
956 with TZEnvContext(self.TZ_EST):

Callers

nothing calls this directly

Calls 2

TZEnvContextClass · 0.85
dstMethod · 0.45

Tested by

no test coverage detected