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

Method testTimeOnlyDSTLocalUTC

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

Source from the content-addressed store, hash-verified

941 None)
942
943 def testTimeOnlyDSTLocalUTC(self):
944 with TZEnvContext(self.UTC):
945 self.assertEqual(dt_time(13, 20, tzinfo=tz.tzlocal()).dst(),
946 timedelta(0))
947
948 def testTimeOnlyDSTLocalDST(self):
949 with TZEnvContext(self.TZ_EST):

Callers

nothing calls this directly

Calls 2

TZEnvContextClass · 0.85
dstMethod · 0.45

Tested by

no test coverage detected