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: use TracebackException's new compact param in unittest.TestResult
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, gvanrossum, iritkatriel, michael.foord, rbcollins
Priority: normal Keywords: patch

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

Pull Requests
URL Status Linked Edit
PR 24221 merged iritkatriel, 2021-01-15 11:50
Messages (2)
msg385105 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-01-15 11:06
The TracebackException instance created here
https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Lib/unittest/result.py#L185
is only used for format(), so it can benefit from the compact param added in issue42877.
msg385115 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-01-15 15:59
New changeset ba876c44a8d06668e622fb580fdcde45c7a36d48 by Irit Katriel in branch 'master':
bpo-42934: use TracebackException(compact=True) in unittest.TestResult (GH-24221)
https://github.com/python/cpython/commit/ba876c44a8d06668e622fb580fdcde45c7a36d48
History
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87100
2021-01-15 16:00:37gvanrossumsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-01-15 15:59:56gvanrossumsetnosy: + gvanrossum
messages: + msg385115
2021-01-15 11:53:28iritkatrielsetnosy: + rbcollins, ezio.melotti, michael.foord
2021-01-15 11:50:48iritkatrielsetkeywords: + patch
stage: patch review
pull_requests: + pull_request23046
2021-01-15 11:06:03iritkatrielcreate