This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Missing test for multi-line errors in traceback
Type: Stage: resolved
Components: Tests Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: RusselWebber, erlendaasland, iritkatriel, pablogsal
Priority: normal Keywords: patch

Created on 2021-12-16 11:28 by iritkatriel, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30695 merged RusselWebber, 2022-01-19 15:40
Messages (3)
msg408688 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-12-16 11:28
While reviewing a change nearby, Erlend noticed that there is no test coverage for the multi-line error case in the traceback printing code added in bpo-43914.

See https://github.com/python/cpython/pull/30073#discussion_r770114429
msg410961 - (view) Author: Russel Webber (RusselWebber) * Date: 2022-01-19 15:40
I have added a test that I think covers this case.
msg411878 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-27 14:13
New changeset 183f8d57fa5959e7578e7f470edc364edb23caca by Russel Webber in branch 'main':
bpo-46098: Add test for multiline syntax error traceback (GH-30695)
https://github.com/python/cpython/commit/183f8d57fa5959e7578e7f470edc364edb23caca
History
Date User Action Args
2022-04-11 14:59:53adminsetgithub: 90256
2022-01-27 14:29:27iritkatrielsetcomponents: + Tests
2022-01-27 14:29:16iritkatrielsetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: - Python 3.10
2022-01-27 14:13:37iritkatrielsetmessages: + msg411878
2022-01-19 15:40:40RusselWebbersetnosy: + RusselWebber
messages: + msg410961
pull_requests: + pull_request28893

keywords: + patch
stage: patch review
2021-12-16 11:28:49iritkatrielcreate