| 
9 | 9 | import zarr  | 
10 | 10 | import zarr.api.asynchronous  | 
11 | 11 | import zarr.core.group  | 
12 |  | -from tests.conftest import as_immutable  | 
13 | 12 | from zarr import Array, Group  | 
14 | 13 | from zarr.abc.store import Store  | 
15 | 14 | from zarr.api.synchronous import (  | 
@@ -82,7 +81,7 @@ async def test_open_array(store: Store, zarr_format: ZarrFormat) -> None:  | 
82 | 81 |     assert isinstance(z, Array)  | 
83 | 82 |     assert z.shape == (200,)  | 
84 | 83 | 
 
  | 
85 |  | -    store_r = as_immutable(store)  | 
 | 84 | +    store_r = store._as_immutable()  | 
86 | 85 |     z = open(store=store_r, zarr_format=zarr_format, mode="r")  | 
87 | 86 |     assert isinstance(z, Array)  | 
88 | 87 |     assert z.shape == (200,)  | 
@@ -115,7 +114,7 @@ async def test_open_group(store: Store) -> None:  | 
115 | 114 |     # g = open_group(store=store)  | 
116 | 115 |     # assert isinstance(g, Group)  | 
117 | 116 |     # assert "foo" not in g  | 
118 |  | -    store_r = as_immutable(store)  | 
 | 117 | +    store_r = store._as_immutable()  | 
119 | 118 | 
 
  | 
120 | 119 |     g = open_group(store=store_r, mode="r")  | 
121 | 120 |     assert isinstance(g, Group)  | 
@@ -226,7 +225,7 @@ def test_save_errors() -> None:  | 
226 | 225 | 
 
  | 
227 | 226 | @pytest.mark.parametrize(  | 
228 | 227 |     "store",  | 
229 |  | -    ["local", "memory", "remote", pytest.param("zip", marks=pytest.mark.xfail)],  | 
 | 228 | +    ["local", "memory", "remote", "zip"],  | 
230 | 229 |     indirect=True,  | 
231 | 230 | )  | 
232 | 231 | def test_open_store_with_mode_r(store: Store) -> None:  | 
 | 
0 commit comments