8000 gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup by ambv · Pull Request #103792 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup #103792

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

Merged
merged 6 commits into from
Apr 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix docstring typo
  • Loading branch information
ambv committed Apr 24, 2023
commit be30df6a8026239eaa76eb2737476f11da31fb3f
2 changes: 1 addition & 1 deletion Lib/test/support/testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def assertExceptionIsLike(self, exc, template):
Passes when the provided `exc` matches the structure of `template`.
Individual exceptions don't have to be the same objects or even pass
an equality test: they only need to be the same type and contain equal
`exc_obj.args`.}
`exc_obj.args`.
"""
if exc is None and template is None:
return
Expand Down
0