Skip to content

Fix test warnings#266

Merged
gmloose merged 2 commits intomasterfrom
fix_test_warnings
Oct 30, 2025
Merged

Fix test warnings#266
gmloose merged 2 commits intomasterfrom
fix_test_warnings

Conversation

@gmloose
Copy link
Collaborator

@gmloose gmloose commented Oct 30, 2025

When running the test program, a bunch of Python warnings are emitted (at least, if you do export PYTHONWARNINGS=always first). One is a DeprecationWarning, the others are ResourceWarnings.

This PR fixes those warnings.

Fixed ResourceWarnings about unclosed file FITS files.
Fixed DeprecationWarning: scipy.misc is deprecated and will be removed in 2.0.0
@gmloose gmloose requested a review from darafferty October 30, 2025 15:14
@gmloose gmloose self-assigned this Oct 30, 2025
Copy link
Collaborator

@darafferty darafferty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@gmloose gmloose merged commit 59af7b2 into master Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants