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

Method testLocal

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

Source from the content-addressed store, hash-verified

2267 return ()
2268
2269 def testLocal(self):
2270 # Not sure how to pin a local time zone, so for now we're just going
2271 # to run this and make sure it doesn't raise an error
2272 # See GitHub Issue #135: https://github.com/dateutil/dateutil/issues/135
2273 datetime.now(tzwin.tzwinlocal())
2274
2275 def testTzwinLocalUTCOffset(self):
2276 with TZWinContext('Eastern Standard Time'):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected