Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Bugfix/fix tests on i386 #249

Merged
merged 5 commits into from
Oct 24, 2023

Conversation

avalentino
Copy link
Contributor

@avalentino avalentino commented Jul 1, 2023

  • Passes pre-commit run --all-files
  • Changes are summarized in docs/source/whats-new.rst

@TomNicholas
Copy link
Member

Hi @avalentino , sorry I missed this when you submitted it. I have absolutely no idea why your change is really doing here, and I suspect it must be related to a bug upstream in either xarray or numpy. I would appreciate it if you could explain a little more about the behaviour you found here?

@avalentino
Copy link
Contributor Author

On i386 integers are interpreted as int32, so the test fails because int64 are expected in the result. The patch just forces the use of int64 in all platforms.

@TomNicholas
Copy link
Member

Oh right! Thank you @avalentino - merging this now.

@TomNicholas TomNicholas enabled auto-merge (squash) October 24, 2023 05:16
@TomNicholas TomNicholas merged commit 86e9f59 into xarray-contrib:main Oct 24, 2023
12 checks passed
@avalentino
Copy link
Contributor Author

Thanks @TomNicholas

flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
* Fix tests on i386

* Update changelog

* Add comment explaining explicit cast

---------

Co-authored-by: Tom Nicholas <[email protected]>
Co-authored-by: Tom Nicholas <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants