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

Method testTimeOnlyDSTLocalDST

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

Source from the content-addressed store, hash-verified

953 timedelta(0))
954
955 def testTimeOnlyDSTLocalDST(self):
956 with TZEnvContext(self.TZ_EST):
957 self.assertIs(dt_time(13, 20, tzinfo=tz.tzlocal()).dst(),
958 None)
959
960 def testUTCEquality(self):
961 with TZEnvContext(self.UTC):

Callers

nothing calls this directly

Calls 2

TZEnvContextClass · 0.85
dstMethod · 0.45

Tested by

no test coverage detected