|
For context, this PR is inspired by gh-103750. |
Sorry, something went wrong.
|
Thanks @Eclips4 for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
GH-103760 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
|
This looks redundant. Didn't that test function already test equality and hash equality of several empty ranges? Even inequality? I see three empty ranges among the test ranges defined at the top, and all pairs of them get tested: If you want to test your particular two ranges, maybe instead just add them to all those test ranges? |
Sorry, something went wrong.
|
After looking harder this time, I agree. Revert in #103770. |
Sorry, something went wrong.
|
Yeah, I missed these tests above |
Sorry, something went wrong.
As documentation says, empty ranges are equals.
Therefore, I decided to write a few tests for it