Skip to content

test_builtin fails/hangs when run after test_getopt #62430

Closed

Description

@brettcannon
BPO 18230
Nosy @brettcannon, @serhiy-storchaka
Superseder
  • bpo-13886: test_builtin.PtyTests fail on non-ASCII characters if the readline module is loaded
  • 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 2013-09-16.16:08:07.374>
    created_at = <Date 2013-06-16.15:17:40.621>
    labels = ['type-bug', 'library']
    title = 'test_builtin fails/hangs when run after test_getopt'
    updated_at = <Date 2013-09-16.16:08:07.372>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2013-09-16.16:08:07.372>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-09-16.16:08:07.374>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2013-06-16.15:17:40.621>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 18230
    keywords = []
    message_count = 2.0
    messages = ['191270', '197915']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'Arfrever', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'needs patch'
    status = 'closed'
    superseder = '13886'
    type = 'behavior'
    url = 'https://bugs.python.org/issue18230'
    versions = ['Python 3.3', 'Python 3.4']

    Activity

    1. brettcannon commented on Jun 16, 2013

      @brettcannon
      MemberAuthor

      If you run test_builtin after test_getopt it will hang. If you run test_getopt test_socket test_builtin it will fail in all tty-related tests for input().

      Not sure if this is related to issue bpo-17734 or bpo-13886.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Jun 16, 2013
    3. serhiy-storchaka commented on Sep 16, 2013

      @serhiy-storchaka
      Member

      Yes, it is related. test_getopt uses doctests, doctest uses pdb, pdb imports readline.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions