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 1111from zarr .core .buffer import default_buffer_prototype
1212from zarr .core .chunk_key_encodings import DefaultChunkKeyEncoding , V2ChunkKeyEncoding
1313from 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
1515from zarr .core .metadata .v3 import (
1616 ArrayV3Metadata ,
1717 DataType ,
@@ -305,11 +305,12 @@ def test_metadata_to_dict(
305305 assert observed == expected
306306
307307
308- @pytest .mark .parametrize (' indent' , [2 , 4 , None ])
308+ @pytest .mark .parametrize (" indent" , [2 , 4 , None ])
309309def test_json_indent (indent : int ):
310310 with config .set ({"json_indent" : indent }):
311311 m = GroupMetadata ()
312312 d = m .to_buffer_dict (default_buffer_prototype ())["zarr.json" ].to_bytes ()
313+
313314 class TestIndentEncoder (json .JSONEncoder ):
314315 def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
315316 super ().__init__ (* args , ** kwargs )
You can’t perform that action at this time.
0 commit comments