(self)
| 4696 | self.assertEqual(derived.tzname(), 'cookie') |
| 4697 | |
| 4698 | def test_more_bool(self): |
| 4699 | # time is always True. |
| 4700 | cls = self.theclass |
| 4701 | |
| 4702 | t = cls(0, tzinfo=FixedOffset(-300, "")) |
| 4703 | self.assertTrue(t) |
| 4704 | |
| 4705 | t = cls(5, tzinfo=FixedOffset(-300, "")) |
| 4706 | self.assertTrue(t) |
| 4707 | |
| 4708 | t = cls(5, tzinfo=FixedOffset(300, "")) |
| 4709 | self.assertTrue(t) |
| 4710 | |
| 4711 | t = cls(23, 59, tzinfo=FixedOffset(23*60 + 59, "")) |
| 4712 | self.assertTrue(t) |
| 4713 | |
| 4714 | def test_replace(self): |
| 4715 | cls = self.theclass |
nothing calls this directly
no test coverage detected