Commit eb66cf4
authored
geotiff: skip degenerate streaming tests when tifffile is unavailable (#1926)
The dask streaming degenerate-shape tests added in #1912 use a
_read_raw_pixels helper that does a bare ``import tifffile`` to verify
on-disk encoding. ``tifffile`` is an optional CI dependency, so when it
is not installed the three tests that call this helper error out with
ModuleNotFoundError instead of skipping. CI on main has been failing
since 15882e6 landed.
Other tests in the repo handle this with pytest.importorskip; this
change applies the same pattern so the three tests skip cleanly when
tifffile is missing.1 parent b176169 commit eb66cf4
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments