Skip to content

TST: Fix test_str_encode on big endian machines #57394

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

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Feb 13, 2024

I couldn't find a way to specify the endianness when creating the ArrowDtype, so just pick the right result based on native byte order.

I couldn't find a way to specify the endianness when creating the
`ArrowDtype`, so just pick the right result based on native byte order.
@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite Arrow pyarrow functionality labels Feb 13, 2024
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

We don't explicitly support BE machines nor do we have any in CI for the test suite. However, I am fine with this PR @mroeschke

@mroeschke mroeschke added this to the 3.0 milestone Feb 13, 2024
@mroeschke mroeschke merged commit b077967 into pandas-dev:main Feb 13, 2024
@mroeschke
Copy link
Member

Sure thanks @QuLogic

@QuLogic QuLogic deleted the test-be-str_encode branch February 13, 2024 23:20
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
I couldn't find a way to specify the endianness when creating the
`ArrowDtype`, so just pick the right result based on native byte order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: test_str_encode[utf32] fails on big-endian machine
4 participants