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: add tests/arrays/interval/test_constructors.py #49788

Closed

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented Nov 19, 2022

IntervalArray construction wasn't tested very well previously. This adds a test_constructors.py file to the tests/arrays/interval directory. The test file is the test file from pandas/tests/indexes/interval/test_constructors.py (after #49786) adapted to test IntervalArrays instead of IntervalIndexes.

Also 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
@jbrockmendel
Copy link
Member

can any of this be de-duplicated with the analogous index tests?

@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 23, 2022
@topper-123 topper-123 closed this Jan 3, 2023
@topper-123 topper-123 deleted the intervalarray_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

3 participants