8000 gh-111159: Fix `doctest` output comparison for exceptions with notes by sobolevn · Pull Request #111160 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

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 5 commits into from
Oct 21, 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
Update Lib/test/test_doctest.py
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
sobolevn and iritkatriel authored Oct 21, 2023
commit a5f73568ae04747e6251f0ed05ecb5f5048771e6
2 changes: 1 addition & 1 deletion Lib/test/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3323,7 +3323,7 @@ def test_syntax_error_with_note(cls, multiline=False):
raise exc


def test_syntax_error_with_incorrect_note():
def test_syntax_error_with_incorrect_expected_note():
"""
>>> def f(x):
... r'''
Expand Down
0