Skip to content

Commit c7c5426

Browse files
authored
Fix type used for group argument in xarray tests (#1081)
* Fix type used for group argument in xarray tests * Fix test
1 parent 2a0267b commit c7c5426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/titiler/xarray/tests/test_io_tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def test_zarr_group(group):
135135
"""test reader."""
136136
src_path = os.path.join(prefix, "pyramid.zarr")
137137

138-
with Reader(src_path, variable="dataset", group=group) as src:
138+
with Reader(src_path, variable="dataset", group=str(group)) as src:
139139
assert src.info()
140140
assert src.tile(0, 0, 0)
141141
assert src.point(0, 0).data[0] == group * 2 + 1

0 commit comments

Comments
 (0)