| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This is a semantic change. The old code allows an exception; the replacement requires one and will fail if something is improved to avoid it. Do you really want this. If not, I would add a note that it would be OK to prevent the exception and remove the assert.
Minor nit: I think the comment fits better under the assert, after the object 'this' points to.
Sorry, something went wrong.
No. I just currently can not prevent RuntimeError while producing this test case scenario.
Thanks. It can be removed if there is no RuntimeError occur in the future. |
Sorry, something went wrong.
There was a problem hiding this comment.
LG, but I like to indent the comment.
Sorry, something went wrong.
|
Thanks @dpr-0 for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @dpr-0 and @gvanrossum, I could not cleanly backport this to 3.11 due to a conflict. cherry_picker 18c692946953e586db432fd06c856531a2b05127 3.11 |
Sorry, something went wrong.
…ings` (pythonGH-112187) (cherry picked from commit 18c6929) Co-authored-by: DPR <dpr-0xff@pm.me>
|
GH-112255 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
…ings` (python#112187) (cherry picked from commit 18c6929)
|
GH-112261 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Use self.assertRaise instead