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

TST: test UInt64Index in tests/indexes/interval/test_constructors.py #49786

Closed

Conversation

topper-123
Copy link
Contributor

UInt64Index wasn't tested previously in the IntervalIndex constructor tests, this adds tests for that.

Preparation for fixing an issue in #49560.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Interval Interval data type labels Nov 22, 2022
@@ -38,25 +40,41 @@ class ConstructorTests:
get_kwargs_from_breaks to the expected format.
"""

def _skip_test_constructor(self, dtype):
# get_kwargs_from_breaks in TestFromTuples and TestClassconstructors just return
# tuples of ints, so IntervalIndex can't know the original dtype
Copy link
Member

Choose a reason for hiding this comment

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

Is the tuple of ints key for the constructor tests or can they be cast to an array where the dtype is known?

@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Dec 24, 2022
@topper-123 topper-123 closed this Jan 3, 2023
@topper-123 topper-123 deleted the interval_test_constructors branch January 3, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interval Interval data type Stale Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants