Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken ICGEM file loader test #457

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Fix broken ICGEM file loader test #457

merged 1 commit into from
Feb 20, 2024

Conversation

leouieda
Copy link
Member

The test was looking for a UserWarning with specific text that was changed in numpy. Fix it by making a much less specific regex and that will be compatible with both versions. Also fix a FutureWarning about accessing xarray.Dataset dimension sizes (should use .sizes instead of .dims).

The test was looking for a `UserWarning` with specific text that was
changed in numpy. Fix it by making a much less specific regex and that
will be compatible with both versions. Also fix a `FutureWarning` about
accessing `xarray.Dataset` dimension sizes (should use `.sizes` instead
of `.dims`).
@leouieda
Copy link
Member Author

Merging this in since it's blocking all other PRs.

@leouieda leouieda merged commit 5756398 into main Feb 20, 2024
20 checks passed
@leouieda leouieda deleted the empty-file-warning branch February 20, 2024 13:50
@santisoler
Copy link
Member

Thanks @leouieda!

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.

2 participants