Skip to content

Commit 1963647

Browse files
committed
fix
1 parent 0dbe70a commit 1963647

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/test_v2.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import zarr.core.buffer
1313
import zarr.storage
1414
from zarr import config
15+
from zarr.abc.store import Store
1516
from zarr.core.buffer.core import default_buffer_prototype
1617
from zarr.core.sync import sync
1718
from zarr.storage import MemoryStore, StorePath
@@ -163,12 +164,12 @@ def test_v2_filters_codecs(filters: Any, order: Literal["C", "F"]) -> None:
163164

164165

165166
@pytest.mark.filterwarnings("ignore")
166-
@pytest.mark.parametrize('store', ['memory'], indirect=True)
167+
@pytest.mark.parametrize("store", ["memory"], indirect=True)
167168
def test_create_array_defaults(store: Store):
168-
"""
169-
Test that passing compressor=None results in no compressor. Also test that the default value of the compressor
170-
parameter does produce a compressor.
171-
"""
169+
"""
170+
Test that passing compressor=None results in no compressor. Also test that the default value of the compressor
171+
parameter does produce a compressor.
172+
"""
172173
g = zarr.open(store, mode="w", zarr_format=2)
173174
arr = g.create_array("one", dtype="i8", shape=(1,), chunks=(1,), compressor=None)
174175
assert arr._async_array.compressor is None

0 commit comments

Comments
 (0)