File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1246,11 +1246,11 @@ async def test_chunk_key_encoding(
12461246 chunk_key_encoding = ChunkKeyEncodingParams (name = name , separator = separator ) # type: ignore[typeddict-item]
12471247 error_msg = ""
12481248 if name == "invalid" :
1249- error_msg = " Unknown chunk key encoding."
1249+ error_msg = r' Unknown chunk key encoding: "Chunk key encoding \'invalid\' not found in registered chunk key encodings: \[.*\]."'
12501250 if zarr_format == 2 and name == "default" :
12511251 error_msg = "Invalid chunk key encoding. For Zarr format 2 arrays, the `name` field of the chunk key encoding must be 'v2'."
12521252 if error_msg :
1253- with pytest .raises (ValueError , match = re . escape ( error_msg ) ):
1253+ with pytest .raises (ValueError , match = error_msg ):
12541254 arr = await create_array (
12551255 store = store ,
12561256 dtype = "uint8" ,
You can’t perform that action at this time.
0 commit comments