(self)
| 2348 | datetime.now(tzwin.tzwinlocal()) |
| 2349 | |
| 2350 | def testTzwinLocalUTCOffset(self): |
| 2351 | with TZWinContext('Eastern Standard Time'): |
| 2352 | tzwl = tzwin.tzwinlocal() |
| 2353 | self.assertEqual(datetime(2014, 3, 11, tzinfo=tzwl).utcoffset(), |
| 2354 | timedelta(hours=-4)) |
| 2355 | |
| 2356 | def testTzwinLocalName(self): |
| 2357 | # https://github.com/dateutil/dateutil/issues/143 |
nothing calls this directly
no test coverage detected