8000 [3.10] [tests] Add missing assert against expected tracebacks in test_exceptions.py (GH-28484) by miss-islington · Pull Request #28510 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.10] [tests] Add missing assert against expected tracebacks in test_exceptions.py (GH-28484) #28510

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 1 commit into from
Sep 21, 2021
Merged
Changes from all commits
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
[tests] Add missing assert against expected tracebacks in test_except…
…ions.py (GH-28484)

(cherry picked from commit a007347)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
  • Loading branch information
akulakov authored and miss-islington committed Sep 21, 2021
commit 305efdd08cfaf117276f22c1b5de6b0e1e30bc1b
1 change: 1 addition & 0 deletions Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2298,6 +2298,7 @@ def test_range_of_offsets(self):
except SyntaxError as exc:
with support.captured_stderr() as err:
sys.__excepthook__(*sys.exc_info())
self.assertIn(expected, err.getvalue())
the_exception = exc

def test_encodings(self):
Expand Down
0