| 337 | """Test registering a custom format.""" |
| 338 | |
| 339 | class CustomFormat(BaseFormat): |
| 340 | @classmethod |
| 341 | def extensions(cls): |
| 342 | return [".custom"] |
| 343 | |
| 344 | def load(self, file_path): |
| 345 | return [] |
| 346 | |
| 347 | def save(self, data, file_path, **kwargs): |
| 348 | pass |
| 349 | |
| 350 | # Register and verify |
| 351 | FormatRegistry.register(CustomFormat) |
nothing calls this directly
no outgoing calls
no test coverage detected