def METHOD_NAME(self):
    schema = openmediavault.json.Schema({})
    self.assertRaises(
        openmediavault.json.SchemaException,
        lambda: schema._check_format("abc", {"format": "abc"}, "abc"),
    )