Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_pdb: test_checkline_is_not_executable() logs messages #89371

Closed
vstinner opened this issue Sep 15, 2021 · 4 comments
Closed

test_pdb: test_checkline_is_not_executable() logs messages #89371

vstinner opened this issue Sep 15, 2021 · 4 comments
Labels
3.9 only security fixes 3.10 only security fixes 3.11 only security fixes tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 45208
Nosy @vstinner, @ambv, @miss-islington
PRs
  • bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet #28354
  • [3.10] bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) #28363
  • [3.9] bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) #28381
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-09-16.07:53:25.321>
    created_at = <Date 2021-09-15.13:28:33.891>
    labels = ['tests', '3.9', '3.10', '3.11']
    title = 'test_pdb: test_checkline_is_not_executable() logs messages'
    updated_at = <Date 2021-09-16.07:53:25.320>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-16.07:53:25.320>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-16.07:53:25.321>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2021-09-15.13:28:33.891>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45208
    keywords = ['patch']
    message_count = 4.0
    messages = ['401836', '401872', '401883', '401926']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'lukasz.langa', 'miss-islington']
    pr_nums = ['28354', '28363', '28381']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45208'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @vstinner
    Copy link
    Member Author

    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
    ------------

    @vstinner vstinner added 3.11 only security fixes tests Tests in the Lib/test dir 3.9 only security fixes 3.10 only security fixes labels Sep 15, 2021
    @ambv
    Copy link
    Contributor

    ambv commented Sep 15, 2021

    New changeset e08e491 by Victor Stinner in branch 'main':
    bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354)
    e08e491

    @ambv
    Copy link
    Contributor

    ambv commented Sep 15, 2021

    New changeset 0e4f913 by Miss Islington (bot) in branch '3.10':
    bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) (GH-28363)
    0e4f913

    @vstinner
    Copy link
    Member Author

    New changeset 471b381 by Victor Stinner in branch '3.9':
    bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) (GH-28381)
    471b381

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes 3.11 only security fixes tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants