| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
If we're going to increase coverage for Argument Clinic, we need to clean up the test code a little bit; we need readable tests, and we need to be able to debug existing tests without pulling our hair. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for doing this, in my opinion, it is much more readable now.
Sorry, something went wrong.
There was a problem hiding this comment.
👍
Sorry, something went wrong.
|
After gh-106373, we should make the test_disallowed_* tests more accurate. Most of them simply run self.parse_function_should_fail without checking the error message. This makes it hard to verify that the test is checking the right path. |
Sorry, something went wrong.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @erlend-aasland, I could not cleanly backport this to 3.12 due to a conflict. |
Sorry, something went wrong.
|
Sorry @erlend-aasland, I had trouble checking out the 3.11 backport branch. |
Sorry, something went wrong.
|
GH-106379 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
(cherry picked from commit 3ee8dac) Co-authored-by: Erlend E. Aasland <erlend@python.org>
(cherry picked from commit 3ee8dac) Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
GH-106381 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
* main: pythongh-106368: Increase Argument Clinic test coverage (python#106389) pythongh-106320: Fix _PyImport_GetModuleAttr() declaration (python#106386) pythongh-106368: Harden Argument Clinic parser tests (python#106384) pythongh-106320: Remove private _PyImport C API functions (python#106383) pythongh-86085: Remove _PyCodec_Forget() declaration (python#106377) pythongh-106320: Remove more private _PyUnicode C API functions (python#106382) pythongh-104050: Annotate more Argument Clinic DSLParser state methods (python#106376) pythongh-106368: Clean up Argument Clinic tests (python#106373)
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.