Skip to content

Commit e72f905

Browse files
committed
use explicit integer dtype in blosc test
1 parent a483153 commit e72f905

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_codecs/test_blosc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
)
2424
from zarr.core.buffer import default_buffer_prototype
2525
from zarr.core.common import ZarrFormat
26+
from zarr.core.dtype.npy.int import Int64
2627
from zarr.storage import StorePath
2728

2829

@@ -119,7 +120,7 @@ def test_blosc_compression(zarr_format: ZarrFormat, codec: Any) -> None:
119120
store: dict[str, Any] = {}
120121
z_w = zarr.create_array(
121122
store=store,
122-
dtype="int",
123+
dtype=Int64(),
123124
shape=(1,),
124125
chunks=(10,),
125126
zarr_format=zarr_format,

0 commit comments

Comments
 (0)