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
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests #20538
Conversation
5742333
to
aaf8ec3
Compare
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
No problem. I'll rebase onto master and fix the naming. |
Ref. issue 5846: unittest.makeSuite is deprecated
|
PTAL, @berkerpeksag. Rebased onto master with snake case method naming. IMHO, it looks really nice now. |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
Misc/NEWS.d/next/Tests/2020-05-30-13-39-22.bpo-40823.yB7K5w.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Tests/2020-05-30-13-39-22.bpo-40823.yB7K5w.rst
Outdated
Show resolved
Hide resolved
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
test_cursor_description_ctes_multiple_columns => test_cursor_description_cte_multiple_columns
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
|
GitHub messed up the encoding again! See #20538 (comment). I must remember no to use the suggestion feature for these files. We should normalise the encodings: |
|
The same thing happened in #20448, and we ended up just converting Lib/sqlite3/test/userfunctions.py to UTF-8 in the same PR. I'd say we convert the rest right away. Agreed, @berkerpeksag? |
I failed to see what's wrong here and #20448 has lots of comments. Why do you want to convert encodings of these files? |
Commit fd4f651 was auto-generated by GitHub from the "suggestion" I set up in #20538 (comment). As you notice from the diff, GitHub silently converted the file from ISO-8859 encoding to UTF-8 encoding (ignoring the |
|
Ah, I see now, thanks for the explanation! Personally, I prefer reverting the commit generated by GitHub and apply the suggested change manually. I don't like when companies try to impose their own practices (it doesn't mean they are bad practices) on a perfectly fine piece of code :) |
|
… or we can revert the encoding change and create an issue for normalising the encodings.
No problem. I'll open an issue for normalising the file encodings. Consistence FTW :) |
|
Reverted in f93a63b. PTAL, @berkerpeksag |


https://bugs.python.org/issue40823