Skip to content

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Oct 21, 2023

Do we need more tests for this? What else can be added?

@iritkatriel
Copy link
Member

Thanks for doing this. Are you up for adding Exception Groups to doctest too? #104150

@sobolevn
Copy link
Member Author

Are you up for adding Exception Groups to doctest too?

I will take a look :)

@iritkatriel iritkatriel added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes type-bug An unexpected behavior, bug, or error labels Oct 21, 2023
@iritkatriel iritkatriel merged commit fd60549 into python:main Oct 21, 2023
@miss-islington-app
Copy link

Thanks @sobolevn for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2023
…notes (pythonGH-111160)

(cherry picked from commit fd60549)

Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2023
…notes (pythonGH-111160)

(cherry picked from commit fd60549)

Co-authored-by: Nikita Sobolev <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 21, 2023

GH-111169 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Oct 21, 2023
@bedevere-app
Copy link

bedevere-app bot commented Oct 21, 2023

GH-111170 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Oct 21, 2023
iritkatriel pushed a commit that referenced this pull request Oct 21, 2023
… notes (GH-111160) (#111170)

gh-111159: Fix `doctest` output comparison for exceptions with notes (GH-111160)
(cherry picked from commit fd60549)

Co-authored-by: Nikita Sobolev <[email protected]>
iritkatriel pushed a commit that referenced this pull request Oct 21, 2023
… notes (GH-111160) (#111169)

gh-111159: Fix `doctest` output comparison for exceptions with notes (GH-111160)
(cherry picked from commit fd60549)

Co-authored-by: Nikita Sobolev <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants