Skip to content

Commit

Permalink
Fix raise error
Browse files Browse the repository at this point in the history
  • Loading branch information
martaiborra committed Sep 17, 2024
1 parent 3d67667 commit f4d1de9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/blosc2/schunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from typing import Any, Iterator, NamedTuple

import numpy as np
from defusedxml import NotSupportedError
from msgpack import packb, unpackb

import blosc2
Expand Down Expand Up @@ -82,7 +81,7 @@ def __contains__(self, key: str) -> bool:
return blosc2_ext.meta__contains__(self.schunk, key)

def __delitem__(self, key: str) -> None:
raise NotSupportedError("Cannot remove a metalayer")
raise NotImplementedError("Cannot remove a metalayer")

def __setitem__(self, key: str, value: bytes) -> None:
"""Update the `key` metalayer with `value`.
Expand Down

0 comments on commit f4d1de9

Please sign in to comment.