Skip to content

Commit f7978d9

Browse files
committed
cover missing methods
1 parent 9a830d5 commit f7978d9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/zarr/core/dtype/wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,13 @@ def to_native_dtype(self: Self) -> TDType_co:
136136

137137
@classmethod
138138
@abstractmethod
139-
def _from_json_v2(cls: type[Self], data: DTypeJSON) -> Self: ...
139+
def _from_json_v2(cls: type[Self], data: DTypeJSON) -> Self:
140+
raise NotImplementedError # pragma: no cover
140141

141142
@classmethod
142143
@abstractmethod
143-
def _from_json_v3(cls: type[Self], data: DTypeJSON) -> Self: ...
144+
def _from_json_v3(cls: type[Self], data: DTypeJSON) -> Self:
145+
raise NotImplementedError # pragma: no cover
144146

145147
@classmethod
146148
def from_json(cls: type[Self], data: DTypeJSON, *, zarr_format: ZarrFormat) -> Self:

0 commit comments

Comments
 (0)