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

Method testTimeOnlyDSTLocalDST

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

Source from the content-addressed store, hash-verified

946 timedelta(0))
947
948 def testTimeOnlyDSTLocalDST(self):
949 with TZEnvContext(self.TZ_EST):
950 self.assertIs(dt_time(13, 20, tzinfo=tz.tzlocal()).dst(),
951 None)
952
953 def testUTCEquality(self):
954 with TZEnvContext(self.UTC):

Callers

nothing calls this directly

Calls 2

TZEnvContextClass · 0.85
dstMethod · 0.45

Tested by

no test coverage detected