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

Reduced equals time and fixed a bug. #1051

Merged

Conversation

thomcom
Copy link
Contributor

@thomcom thomcom commented Apr 7, 2023

Description

Closes #1014

This PR simply reduces the size of some of the equals tests from 10000 to 100. Long run time had to do with serializing 10000x Shapely objects.

It also fixes a bug in MultiPointMultiPointEquals that I guess was able to exist due to the size of the old test and the seed of the random generator.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@thomcom thomcom added 3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 7, 2023
@thomcom thomcom requested a review from a team as a code owner April 7, 2023 16:28
@thomcom thomcom self-assigned this Apr 7, 2023
@thomcom thomcom requested review from trxcllnt and isVoid April 7, 2023 16:28
@github-actions github-actions bot added the Python Related to Python code label Apr 7, 2023
@thomcom
Copy link
Contributor Author

thomcom commented Apr 7, 2023

/merge

@rapids-bot rapids-bot bot merged commit 0985aef into rapidsai:branch-23.06 Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Related to Python code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG]: Python testing time doubled by test_equals_only_binpreds.py
2 participants