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: modernize exception handling in tests
Type: Stage: resolved
Components: Tests Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: iritkatriel Nosy List: iritkatriel, miss-islington
Priority: normal Keywords: patch

Created on 2022-01-17 14:40 by iritkatriel, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30638 merged iritkatriel, 2022-01-17 14:44
PR 30657 merged miss-islington, 2022-01-18 07:05
PR 30658 merged miss-islington, 2022-01-18 07:05
Messages (4)
msg410789 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-17 14:40
There are a few tests that use sys.exc_info() because they needed to in python 2, but there is no longer a reason to do it. I will make a patch shortly.
msg410843 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-18 07:05
New changeset a287b31bcb065e4122400cb59167340d25480e6d by Irit Katriel in branch 'main':
bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638)
https://github.com/python/cpython/commit/a287b31bcb065e4122400cb59167340d25480e6d
msg410845 - (view) Author: miss-islington (miss-islington) Date: 2022-01-18 07:29
New changeset 1d6530dd0564a6bb75989b9fca25a649b5ddc1b0 by Miss Islington (bot) in branch '3.9':
[3.9] bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) (GH-30658)
https://github.com/python/cpython/commit/1d6530dd0564a6bb75989b9fca25a649b5ddc1b0
msg410846 - (view) Author: miss-islington (miss-islington) Date: 2022-01-18 07:33
New changeset 42038d00ea7b0b5455e371285102d85006fbf687 by Miss Islington (bot) in branch '3.10':
bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638)
https://github.com/python/cpython/commit/42038d00ea7b0b5455e371285102d85006fbf687
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90569
2022-01-18 08:39:45iritkatrielsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-01-18 07:33:08miss-islingtonsetmessages: + msg410846
2022-01-18 07:29:10miss-islingtonsetmessages: + msg410845
2022-01-18 07:05:43miss-islingtonsetpull_requests: + pull_request28859
2022-01-18 07:05:39miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28858
2022-01-18 07:05:21iritkatrielsetmessages: + msg410843
2022-01-17 14:44:57iritkatrielsetkeywords: + patch
stage: patch review
pull_requests: + pull_request28841
2022-01-17 14:40:58iritkatrielcreate