-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-105639: Fix reference_find test for empty strings #105640
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test should deterministically test ('','') and perhaps some other corner-case pairs in another loop.
When you're done making the requested changes, leave the comment: |
There is already a test_find a few methods above: cpython/Lib/test/string_tests.py Line 180 in 3a314f7
(Edit: I went ahead and added some deterministic cases as well to test that I have made the requested changes; please review again |
Thanks for making the requested changes! @terryjreedy: please review the changes made to this pull request. |
@terryjreedy, is this better now? |
Uh oh!
There was an error while loading. Please reload this page.