Skip to content

Commit 7c644eb

Browse files
committed
make unstablespecificationwarning an instance of zarrfuturewarning
1 parent b2e25cf commit 7c644eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/zarr/core/dtype/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
)
1515

1616
from zarr.core.common import NamedConfig
17+
from zarr.errors import ZarrFutureWarning
1718

1819
EndiannessStr = Literal["little", "big"]
1920
ENDIANNESS_STR: Final = "little", "big"
@@ -205,7 +206,7 @@ class HasObjectCodec:
205206
object_codec_id: ClassVar[str]
206207

207208

208-
class UnstableSpecificationWarning(FutureWarning): ...
209+
class UnstableSpecificationWarning(ZarrFutureWarning): ...
209210

210211

211212
def v3_unstable_dtype_warning(dtype: object) -> None:

0 commit comments

Comments
 (0)