-
Notifications
You must be signed in to change notification settings - Fork 734
Fix ydb/tests to conform py2 syntax #29466
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
|
🟢 |
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
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.
Pull request overview
This PR converts Python 3 f-strings to Python 2 compatible string formatting using the % operator, as a follow-up to PR #28613 to ensure Python 2 syntax compliance in test code.
Key changes:
- Replace f-string syntax with
%string formatting operator - Maintain identical error message content and clarity
- Update 11 error message statements across 2 test library files
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ydb/tests/library/harness/kikimr_runner.py | Convert 1 KeyError f-string to % formatting |
| ydb/tests/library/clients/kikimr_client.py | Convert 10 RuntimeError f-strings to % formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Changelog category
Description for reviewers