(self)
| 2302 | self.assertEqual(repr(tw), 'tzwinlocal()') |
| 2303 | |
| 2304 | def testTzwinLocalRepr(self): |
| 2305 | # https://github.com/dateutil/dateutil/issues/143 |
| 2306 | with TZWinContext('Eastern Standard Time'): |
| 2307 | tw = tz.tzwinlocal() |
| 2308 | |
| 2309 | self.assertEqual(str(tw), 'tzwinlocal(' + |
| 2310 | repr('Eastern Standard Time') + ')') |
| 2311 | |
| 2312 | with TZWinContext('Pacific Standard Time'): |
| 2313 | tw = tz.tzwinlocal() |
| 2314 | |
| 2315 | self.assertEqual(str(tw), 'tzwinlocal(' + |
| 2316 | repr('Pacific Standard Time') + ')') |
| 2317 | |
| 2318 | def testTzwinLocalEquality(self): |
| 2319 | tw_est = tz.tzwin('Eastern Standard Time') |
nothing calls this directly
no test coverage detected