| 180 | |
| 181 | def test_subclass_must_override(self): |
| 182 | class NotEnough(tzinfo): |
| 183 | def __init__(self, offset, name): |
| 184 | self.__offset = offset |
| 185 | self.__name = name |
| 186 | self.assertIsSubclass(NotEnough, tzinfo) |
| 187 | ne = NotEnough(3, "NotByALongShot") |
| 188 | self.assertIsInstance(ne, tzinfo) |
no outgoing calls