| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks! Could you also add tests that cover the 4 missing lines? |
Sorry, something went wrong.
|
First line: I would consider fine as it just breaks on the first run Second line: not sure why it’s yellow third line: Is it necessary? fourth line: returns before reaching c I don’t see any reason to run a test with just c |
Sorry, something went wrong.
|
It's important to test these if we're going to touch the behaviour of find later. The function is quite complex and I wouldn't feel confident modifying it w/o proper test coverage. Since we're going through the trouble to write tests for it, let's make sure it's all covered :)
The loop always breaks which means you never test the case where languages == [].
The condition was always True in tests |
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
Just a few comments/improvements :)
Sorry, something went wrong.
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
|
Can you double-check that we have full coverage? Otherwise I think it's good :) |
Sorry, something went wrong.
|
Looks pretty green to me :-) report |
Sorry, something went wrong.
There was a problem hiding this comment.
Just one more thing, I'd also test that LC_ALL, LC_MESSAGES and LANG are read as well in addition to LANGUAGE.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks! Looks good :)
Sorry, something went wrong.
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 9afb57d 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130691%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
|
Do we want to backport them or not by the way? |
Sorry, something went wrong.
|
I think so, similar test PRs were also previously backported. |
Sorry, something went wrong.
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
(cherry picked from commit 3118693) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
(cherry picked from commit 3118693) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
|
GH-132083 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
GH-132084 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
(There was no coverage before)