Skip to content

Commit 1cec9fc

Browse files
committed
Add test for #6853
1 parent b9a1f72 commit 1cec9fc

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

fixture/meta/.zarray

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"chunks": [
3+
2,
4+
2
5+
],
6+
"compressor": {
7+
"blocksize": 0,
8+
"clevel": 5,
9+
"cname": "lz4",
10+
"id": "blosc",
11+
"shuffle": 1
12+
},
13+
"dimension_separator": ".",
14+
"dtype": "<i8",
15+
"fill_value": 0,
16+
"filters": null,
17+
"order": "C",
18+
"shape": [
19+
2,
20+
2
21+
],
22+
"zarr_format": 2
23+
}

fixture/meta/0.0

48 Bytes
Binary file not shown.

zarr/tests/test_storage.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,3 +2559,9 @@ def test_normalize_store_arg(tmpdir):
25592559
path = tempfile.mkdtemp()
25602560
store = normalize_store_arg("file://" + path, zarr_version=2, mode='w')
25612561
assert isinstance(store, FSStore)
2562+
2563+
2564+
def test_meta_prefix_6853():
2565+
2566+
fixture = group(store=DirectoryStore('fixture'))
2567+
assert list(fixture.arrays())

0 commit comments

Comments
 (0)