(self)
| 2377 | self.assertEqual(repr(tw), 'tzwinlocal()') |
| 2378 | |
| 2379 | def testTzwinLocalRepr(self): |
| 2380 | # https://github.com/dateutil/dateutil/issues/143 |
| 2381 | with TZWinContext('Eastern Standard Time'): |
| 2382 | tw = tz.tzwinlocal() |
| 2383 | |
| 2384 | self.assertEqual(str(tw), 'tzwinlocal(' + |
| 2385 | repr('Eastern Standard Time') + ')') |
| 2386 | |
| 2387 | with TZWinContext('Pacific Standard Time'): |
| 2388 | tw = tz.tzwinlocal() |
| 2389 | |
| 2390 | self.assertEqual(str(tw), 'tzwinlocal(' + |
| 2391 | repr('Pacific Standard Time') + ')') |
| 2392 | |
| 2393 | def testTzwinLocalEquality(self): |
| 2394 | tw_est = tz.tzwin('Eastern Standard Time') |
nothing calls this directly
no test coverage detected