(self)
| 401 | self.assertIs(t.dst(), None) |
| 402 | |
| 403 | def test_time_fixed_offset(self): |
| 404 | for key, offset in self.fixed_offset_zones(): |
| 405 | zi = self.zone_from_key(key) |
| 406 | |
| 407 | t = time(11, 15, 1, 34471, tzinfo=zi) |
| 408 | |
| 409 | with self.subTest(key=key): |
| 410 | self.assertEqual(t.tzname(), offset.tzname) |
| 411 | self.assertEqual(t.utcoffset(), offset.utcoffset) |
| 412 | self.assertEqual(t.dst(), offset.dst) |
| 413 | |
| 414 | def test_cache_exception(self): |
| 415 | class Incomparable(str): |
nothing calls this directly
no test coverage detected