Commit 74b4fa1
authored
fix: also require kerchunk for test_read_netcdf3 (#998)
NetCDF3Parser lazily imports kerchunk.netCDF3 inside __call__, but the
test only had @requires_scipy. In environments that ship scipy without
kerchunk (e.g. pixi min-deps once a transitive dep pulled in scipy) the
test raised ModuleNotFoundError instead of being skipped.1 parent 9f90d2e commit 74b4fa1
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments