File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
from zarr .core .buffer import default_buffer_prototype
12
12
from zarr .core .chunk_key_encodings import DefaultChunkKeyEncoding , V2ChunkKeyEncoding
13
13
from zarr .core .config import config
14
- from zarr .core .group import parse_node_type , GroupMetadata
14
+ from zarr .core .group import GroupMetadata , parse_node_type
15
15
from zarr .core .metadata .v3 import (
16
16
ArrayV3Metadata ,
17
17
DataType ,
@@ -305,11 +305,12 @@ def test_metadata_to_dict(
305
305
assert observed == expected
306
306
307
307
308
- @pytest .mark .parametrize (' indent' , [2 , 4 , None ])
308
+ @pytest .mark .parametrize (" indent" , [2 , 4 , None ])
309
309
def test_json_indent (indent : int ):
310
310
with config .set ({"json_indent" : indent }):
311
311
m = GroupMetadata ()
312
312
d = m .to_buffer_dict (default_buffer_prototype ())["zarr.json" ].to_bytes ()
313
+
313
314
class TestIndentEncoder (json .JSONEncoder ):
314
315
def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
315
316
super ().__init__ (* args , ** kwargs )
You can’t perform that action at this time.
0 commit comments