(self)
| 4514 | self.assertEqual(derived.tzname(), 'cookie') |
| 4515 | |
| 4516 | def test_more_bool(self): |
| 4517 | # time is always True. |
| 4518 | cls = self.theclass |
| 4519 | |
| 4520 | t = cls(0, tzinfo=FixedOffset(-300, "")) |
| 4521 | self.assertTrue(t) |
| 4522 | |
| 4523 | t = cls(5, tzinfo=FixedOffset(-300, "")) |
| 4524 | self.assertTrue(t) |
| 4525 | |
| 4526 | t = cls(5, tzinfo=FixedOffset(300, "")) |
| 4527 | self.assertTrue(t) |
| 4528 | |
| 4529 | t = cls(23, 59, tzinfo=FixedOffset(23*60 + 59, "")) |
| 4530 | self.assertTrue(t) |
| 4531 | |
| 4532 | def test_replace(self): |
| 4533 | cls = self.theclass |
nothing calls this directly
no test coverage detected