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: test_pdb: test_checkline_is_not_executable() logs messages
Type: Stage: resolved
Components: Tests Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: lukasz.langa, miss-islington, vstinner
Priority: normal Keywords: patch

Created on 2021-09-15 13:28 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 28354 merged vstinner, 2021-09-15 15:40
PR 28363 merged miss-islington, 2021-09-15 18:19
PR 28381 merged vstinner, 2021-09-16 07:34
Messages (4)
msg401836 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-09-15 13:28
I would prefer a quiet test:

test_checkline_is_not_executable (test.test_pdb.ChecklineTests) ... End of file
*** Blank or comment
*** Blank or comment
*** Blank or comment
*** Blank or comment
*** Blank or comment
End of file
ok

Current output:
------------
$ ./python -m test test_pdb 
0:00:00 load avg: 1.93 Run tests sequentially
0:00:00 load avg: 1.93 [1/1] test_pdb
End of file
*** Blank or comment
*** Blank or comment
*** Blank or comment
*** Blank or comment
*** Blank or comment
End of file

== Tests result: SUCCESS ==

1 test OK.

Total duration: 5.1 sec
Tests result: SUCCESS
------------
msg401872 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-15 18:19
New changeset e08e491a6ceea8ca105612df10147418c4e105b8 by Victor Stinner in branch 'main':
bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354)
https://github.com/python/cpython/commit/e08e491a6ceea8ca105612df10147418c4e105b8
msg401883 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-15 18:56
New changeset 0e4f913da88791644150282e38ba21d1fca5fd91 by Miss Islington (bot) in branch '3.10':
bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) (GH-28363)
https://github.com/python/cpython/commit/0e4f913da88791644150282e38ba21d1fca5fd91
msg401926 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-09-16 07:53
New changeset 471b3811fe695dcd388396893a0f375a8866ac0c by Victor Stinner in branch '3.9':
bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) (GH-28381)
https://github.com/python/cpython/commit/471b3811fe695dcd388396893a0f375a8866ac0c
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89371
2021-09-16 07:53:25vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-09-16 07:53:13vstinnersetmessages: + msg401926
2021-09-16 07:34:50vstinnersetpull_requests: + pull_request26796
2021-09-15 18:56:40lukasz.langasetmessages: + msg401883
2021-09-15 18:19:38miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request26777
2021-09-15 18:19:38lukasz.langasetnosy: + lukasz.langa
messages: + msg401872
2021-09-15 15:40:48vstinnersetversions: + Python 3.9, Python 3.10
2021-09-15 15:40:22vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request26768
2021-09-15 13:28:33vstinnercreate