Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _read_raw_pixels(path: str) -> np.ndarray:
correctly. ``tifffile`` decodes the pixels but does not consult
``GDAL_NODATA``, so a raw read surfaces what is actually on disk.
"""
import tifffile
tifffile = pytest.importorskip("tifffile")

with tifffile.TiffFile(path) as tif:
return tif.asarray()
Expand Down
Loading