Skip to content

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.

@topper-123 topper-123 force-pushed the interval_test_constructors branch from a75f443 to 2153c84 Compare November 20, 2022 10:17
@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Interval Interval data type labels Nov 22, 2022

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.

2 participants