Skip to content

Commit

Permalink
seek buffer to start before opening
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Sep 30, 2024
1 parent 12d2071 commit fb4e065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ def test_build_overviews():
# build overviews
common.build_overviews(im, min_level_pixels=256)

buf.seek(0)
with rio.open(buf, 'r') as im:
assert len(im.overviews(1)) > 0

Expand Down

0 comments on commit fb4e065

Please sign in to comment.