GeezerVison is showing github.com — gh-106368: Argument clinic: add tests for more failure paths by AlexWaygood · Pull Request #107731 · python/cpython
Conversation
AlexWaygood
commented
Aug 7, 2023
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
And fix a minor bug I discovered along the way.
This gets us up to 95% coverage.
Sorry, something went wrong.
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.
erlend-aasland
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
Looks good. BTW, can you remove test_parameters_required_after_depr_star (line 1471)? I introduced an equal named, but slightly better test in #95151). Makes sense to bake it into this PR, rather than creating a new PR specifically for that removal.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Looks good. BTW, can you remove test_parameters_required_after_depr_star (line 1471)? I introduced an equal named, but slightly better test in #95151). Makes sense to bake it into this PR, rather than creating a new PR specifically for that removal.
Hmm, the new test that you added fails if I remove test_parameters_required_after_depr_star on line 1471. The new test method that you added is currently never run, because it is immediately overridden by the old test method later on in the class definition before unittest even tries to run any of the tests.
We really need to start running pyflakes on Tools/clinic/ and test_clinic.py in CI :)
|
erlend-aasland reacted with laugh emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Well, remove the new test, then 😄
|
AlexWaygood reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|