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 1212from zarr .abc .numcodec import Numcodec , _is_numcodec_cls
1313from zarr .codecs import numcodecs as _numcodecs
1414from zarr .codecs ._v2 import codec_json_v2_to_v3
15- from zarr .core .common import CodecJSON
1615from zarr .errors import ZarrUserWarning
1716from zarr .registry import get_numcodec
1817
1918if TYPE_CHECKING :
2019 from collections .abc import Iterator
2120
22- from zarr .core .common import CodecJSON_V2 , ZarrFormat
21+ from zarr .core .common import CodecJSON , CodecJSON_V2 , ZarrFormat
2322
2423CODECS_WITH_SPECS : Final = ("zstd" , "gzip" , "blosc" )
2524
@@ -59,7 +58,7 @@ def codec_conf() -> Iterator[Any]:
5958
6059
6160def 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 )
6362
6463
6564def test_is_numcodec () -> None :
You can’t perform that action at this time.
0 commit comments