Skip to content

Commit

Permalink
sqme: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Jun 24, 2024
1 parent 32a75b5 commit 682137a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions odc/loader/test_memreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,10 @@ def test_memreader_zarr(sample_ds: xr.Dataset):
zarr = pytest.importorskip("zarr")
assert zarr is not None

gbox = sample_ds.odc.geobox
_gbox = sample_ds.odc.geobox
chunks = None

if isinstance(gbox, GCPGeoBox):
gbox = gbox.a
assert _gbox is not None
gbox = _gbox.approx if isinstance(_gbox, GCPGeoBox) else _gbox

md_store: dict[str, bytes] = {}
chunk_store: dict[str, bytes] = {}
Expand Down

0 comments on commit 682137a

Please sign in to comment.