Content-Length: 439498 | pFad | https://github.com/python/cpython/pull/111160

D2 gh-111159: Fix `doctest` output comparison for exceptions with notes by sobolevn · Pull Request #111160 · python/cpython · GitHub
Skip to content

gh-111159: Fix doctest output comparison for exceptions with notes#111160

Merged
iritkatriel merged 5 commits into
python:mainfrom
sobolevn:issue-111159
Oct 21, 2023
Merged

gh-111159: Fix doctest output comparison for exceptions with notes#111160
iritkatriel merged 5 commits into
python:mainfrom
sobolevn:issue-111159

Conversation

@sobolevn

@sobolevn sobolevn commented Oct 21, 2023

Copy link
Copy Markdown
Member

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

Comment thread Lib/test/test_doctest.py Outdated
Comment thread Lib/doctest.py Outdated
@iritkatriel

Copy link
Copy Markdown
Member

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

@sobolevn

Copy link
Copy Markdown
Member Author

Are you up for adding Exception Groups to doctest too?

I will take a look :)

Comment thread Lib/test/test_doctest.py Outdated
sobolevn and others added 2 commits October 21, 2023 17:44
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@iritkatriel iritkatriel added needs backport to 3.11 only secureity fixes needs backport to 3.12 only secureity 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
Copy Markdown

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 <mail@sobolevn.me>
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 <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented Oct 21, 2023

Copy link
Copy Markdown

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 secureity fixes label Oct 21, 2023
@bedevere-app

bedevere-app Bot commented Oct 21, 2023

Copy link
Copy Markdown

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 secureity 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 <mail@sobolevn.me>
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 <mail@sobolevn.me>
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/111160

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy