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

test(arrays): remove unnecessary series construction in test_array_remove #9741

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

NickCrews
Copy link
Contributor

followup to #9089, I think this is a bit more intuitive

@cpcloud cpcloud force-pushed the test-array-remove branch from 6f8dedb to caa0f8f Compare August 2, 2024 16:33
@cpcloud
Copy link
Member

cpcloud commented Aug 4, 2024

Reflecting on this a bit, I think the handwritten expected values are more maintainable and easy to understand.

I'll clean up the test body bit though. For example, I don't think we need to construct a series for the expected values.

@cpcloud cpcloud force-pushed the test-array-remove branch from caa0f8f to 67869b2 Compare August 4, 2024 10:27
@cpcloud cpcloud changed the title test: compute expected instead of handwriting it in test_array_remove() test(arrays): remove unnecessary series construction in test_array_remove Aug 4, 2024
@cpcloud cpcloud added refactor Issues or PRs related to refactoring the codebase tests Issues or PRs related to tests labels Aug 4, 2024
@cpcloud cpcloud force-pushed the test-array-remove branch from 67869b2 to 0f3570e Compare August 4, 2024 11:29
@cpcloud cpcloud enabled auto-merge (squash) August 4, 2024 12:17
@cpcloud cpcloud merged commit e213d02 into ibis-project:main Aug 4, 2024
82 checks passed
@cpcloud cpcloud added this to the 9.3 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues or PRs related to refactoring the codebase tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants