Skip to content

TST: Update check for pykdtree/scipy in test images#2639

Merged
rcomer merged 1 commit intoSciTools:mainfrom
greglucas:image-test-skip-no-scipy
Mar 15, 2026
Merged

TST: Update check for pykdtree/scipy in test images#2639
rcomer merged 1 commit intoSciTools:mainfrom
greglucas:image-test-skip-no-scipy

Conversation

@greglucas
Copy link
Contributor

When running tests without scipy installed, these modules can't be collected and cause the entire run to fail. Add the skip marker to the top level before any imports.

I created a new virtual environment and installed .[test] without the speedups and these modules caused failures, I must have missed these in #2282

When running tests without scipy installed, these modules can't
be collected and cause the entire run to fail. Add the skip
marker to the top level before any imports.
@rcomer rcomer merged commit 7295dde into SciTools:main Mar 15, 2026
24 of 26 checks passed
@greglucas greglucas deleted the image-test-skip-no-scipy branch March 15, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants