Uh oh!
There was an error while loading. Please reload this page.
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests - #20538
Conversation
5742333 to
aaf8ec3Compare
berkerpeksag
left a comment
There was a problem hiding this comment.
I don't have a strong objection to this, but if we are going to drop Check prefix, I'd prefer using test_* instead of test*.
bedevere-bot
commented
Jan 6, 2021
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 |
erlend-aasland
commented
Jan 6, 2021
No problem. I'll rebase onto master and fix the naming. |
aaf8ec3 to
fbc3b24CompareRef. issue 5846: unittest.makeSuite is deprecated
fbc3b24 to
0f3b5fdCompareUh oh!
There was an error while loading. Please reload this page.
erlend-aasland
commented
Jan 6, 2021
PTAL, @berkerpeksag. Rebased onto master with snake case method naming. IMHO, it looks really nice now. |
erlend-aasland
commented
Jan 6, 2021
I have made the requested changes; please review again |
bedevere-bot
commented
Jan 6, 2021
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Jan 6, 2021
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
erlend-aasland
commented
Jan 6, 2021
I have made the requested changes; please review again |
bedevere-bot
commented
Jan 6, 2021
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? |
berkerpeksag
commented
Jan 6, 2021
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 |
berkerpeksag
commented
Jan 6, 2021
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 :) |
erlend-aasland
commented
Jan 6, 2021
… 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 :) |
erlend-aasland
commented
Jan 6, 2021
Reverted in f93a63b. PTAL, @berkerpeksag |
https://bugs.python.org/issue40823