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: improve test_faulthandler readability with dedent
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: python-dev, vstinner, xdegaye
Priority: normal Keywords: patch

Created on 2014-08-08 22:07 by xdegaye, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_faulthandler.patch xdegaye, 2014-08-08 22:07 review
test_faulthandler.diff xdegaye, 2014-08-08 22:08 review
Messages (3)
msg225091 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2014-08-08 22:07
'test_faulthandler.patch' uses dedent to have triple-quoted strings in indented form. This allows viewing the source code with the folding tools available with some editors.

'test_faulthandler.diff' is the result of 'hg diff --ignore-all-space' and may be used to ensure that the changes made by the patch only affect the presentation of test_faulthandler.py.
msg225153 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-08-10 17:52
New changeset 51472399ca09 by Victor Stinner in branch '3.4':
Close #22175: Improve test_faulthandler readability with dedent.
http://hg.python.org/cpython/rev/51472399ca09

New changeset 2929cc408fbb by Victor Stinner in branch 'default':
(Merge 3.4) Close #22175: Improve test_faulthandler readability with dedent.
http://hg.python.org/cpython/rev/2929cc408fbb
msg225154 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-08-10 17:54
I adapted the patch for Python 3.4 and applied to Python 3.4 and 3.5. Thanks for the patch.
History
Date User Action Args
2022-04-11 14:58:06adminsetgithub: 66371
2014-08-10 17:54:49vstinnersetmessages: + msg225154
2014-08-10 17:52:47python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg225153

resolution: fixed
stage: resolved
2014-08-08 22:08:14xdegayesetfiles: + test_faulthandler.diff
2014-08-08 22:07:50xdegayecreate