Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-106368: Increase Argument Clinic CLI test coverage#107156
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
gh-106368: Increase Argument Clinic CLI test coverage #107156
Uh oh!
There was an error while loading. Please reload this page.
Conversation
erlend-aasland commented Jul 23, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Instead of hacking into the Clinic class, use the Argument Clinic tool to run the ClinicWholeFileTest test suite.
test_external: run clinic on clinic.test.c test_no_change: check that dest is left unchanged if content does not change
erlend-aasland commented Jul 23, 2023
FWIW; this messes up test coverage locally; that's solvable (IIRC), though. |
erlend-aasland commented Jul 23, 2023
The coveragerc file that's included in the sources disables coverage for |
sobolevn left a comment
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.
Better error messages :)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
erlend-aasland commented Jul 24, 2023
Thanks for the review, Nikita! |
sobolevn left a comment
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.
👍
Uh oh!
There was an error while loading. Please reload this page.
sobolevn left a comment
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 great! 👍
miss-islington commented Jul 24, 2023
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
miss-islington commented Jul 24, 2023
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
bedevere-bot commented Jul 24, 2023
GH-107189 is a backport of this pull request to the 3.12 branch. |
bedevere-bot commented Jul 24, 2023
GH-107190 is a backport of this pull request to the 3.11 branch. |
…ythonGH-107156) (python#107190) Instead of hacking into the Clinic class, use the Argument Clinic tool to run the ClinicExternalTest test suite. (cherry picked from commit 83a2837) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…07156) Instead of hacking into the Clinic class, use the Argument Clinic tool to run the ClinicExternalTest test suite. Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Instead of hacking into the Clinic class, use the Argument Clinic tool
to run the
ClinicWholeFileTestClinicExternalTest test suite.TODO:
test_external, use-oto redirect the output, and simply compare the redirected output withclinic.test.ctest_external)-fis given