Skip to content

TST: Fix IntervalIndex constructor tests on big-endian systems #57393

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

Two tests cases specify the expected data to be little-endian. However, none of the other cases do so, and the test creates native endian data, causing these tests to fail only in these specific cases.

  • [n/a] closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • [n/a] Added type annotations to new arguments/methods/functions.
  • [n/a] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Two tests cases specify the expected data to be little-endian. However,
none of the other cases do so, and the test creates native endian data,
causing these tests to fail only in these specific cases.
@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite Interval Interval data type labels Feb 13, 2024
@mroeschke mroeschke added this to the 3.0 milestone Feb 13, 2024
@mroeschke mroeschke merged commit 54f725d into pandas-dev:main Feb 13, 2024
@mroeschke
Copy link
Member

Thanks @QuLogic

@QuLogic QuLogic deleted the test-be-constructor branch February 13, 2024 23:20
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…s-dev#57393)

Two tests cases specify the expected data to be little-endian. However,
none of the other cases do so, and the test creates native endian data,
causing these tests to fail only in these specific cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interval Interval data type Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants