| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| } | ||
| else { | ||
| PyErr_Format(PyExc_TypeError, | ||
| "%.200s%s got an unexpected keyword argument '%S'", |
There was a problem hiding this comment.
I made this error message match the one in ceval.c
Sorry, something went wrong.
|
I still need to do the vgetargskeywords path... |
Sorry, something went wrong.
| with self.check_suggestion_includes(suggestion): | ||
| func(bluch=None) | ||
|
|
||
| def test_unexpected_keyword_suggestion_via_getargs(self): |
There was a problem hiding this comment.
Do you mind adding a explicit test for when the suggestion fails (the 'else' case in the conditional here
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the review! I added this test.
I also made a similar edit in the vgetargskeywords code path and added tests.
Sorry, something went wrong.
There was a problem hiding this comment.
Very good work @hauntsaninja! Thanks for working on this
This looks great, I left some nit but please feel free to ignore
Sorry, something went wrong.
| 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.