(cls)
| 237 | color = None # Must be specified by subclasses |
| 238 | |
| 239 | def __init_subclass__(cls): |
| 240 | super().__init_subclass__() |
| 241 | if cls.color not in ("red", "green", "blue"): |
| 242 | raise ValueError("Fills need a valid color") |
| 243 | |
| 244 | |
| 245 | print("Example 13") |
nothing calls this directly
no test coverage detected