File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 12
12
from zarr .abc .numcodec import Numcodec , _is_numcodec_cls
13
13
from zarr .codecs import numcodecs as _numcodecs
14
14
from zarr .codecs ._v2 import codec_json_v2_to_v3
15
- from zarr .core .common import CodecJSON
16
15
from zarr .errors import ZarrUserWarning
17
16
from zarr .registry import get_numcodec
18
17
19
18
if TYPE_CHECKING :
20
19
from collections .abc import Iterator
21
20
22
- from zarr .core .common import CodecJSON_V2 , ZarrFormat
21
+ from zarr .core .common import CodecJSON , CodecJSON_V2 , ZarrFormat
23
22
24
23
CODECS_WITH_SPECS : Final = ("zstd" , "gzip" , "blosc" )
25
24
@@ -59,7 +58,7 @@ def codec_conf() -> Iterator[Any]:
59
58
60
59
61
60
def test_get_numcodec () -> None :
62
- assert get_numcodec ({"id" : "gzip" , "level" : 2 }) == GZip (level = 2 ) # type: ignore[typeddict-unknown-key]
61
+ assert get_numcodec ({"id" : "gzip" , "level" : 2 }) == GZip (level = 2 )
63
62
64
63
65
64
def test_is_numcodec () -> None :
You can’t perform that action at this time.
0 commit comments