Skip to content

Tests failed in nondecodable directory #69368

Description

@serhiy-storchaka
BPO 25181
Nosy @serhiy-storchaka
Dependencies
  • bpo-25182: python -v crashes in nonencodable directory
  • bpo-25183: python -m inspect --details fails in nondecodable directory
  • bpo-25184: "python -m pydoc -w" fails in nondecodable directory
  • Files
  • tests.log
  • 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 = None
    created_at = <Date 2015-09-19.20:21:35.133>
    labels = ['type-bug', 'tests']
    title = 'Tests failed in nondecodable directory'
    updated_at = <Date 2015-09-21.12:02:37.434>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-09-21.12:02:37.434>
    actor = 'Arfrever'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2015-09-19.20:21:35.133>
    creator = 'serhiy.storchaka'
    dependencies = ['25182', '25183', '25184']
    files = ['40521']
    hgrepos = []
    issue_num = 25181
    keywords = []
    message_count = 1.0
    messages = ['251113']
    nosy_count = 2.0
    nosy_names = ['Arfrever', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25181'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Activity

    1. serhiy-storchaka commented on Sep 19, 2015

      @serhiy-storchaka
      MemberAuthor

      A number of tests are failed or skipped when run in directory with a name that contains non-decodable characters. Attached output of following command:

      ./python -m test.regrtest -uall -v test_cgitb test_cmd_line test_gdb test_inspect test_multiprocessin_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_pdb test_pydoc test_pyexpat test_sax test_site test_subprocess test_tk test_venv test_xml_etree test_xml_etree_c

      test_logging just hangs.

      Locale is en_US.utf8.

    2. transferred this issue fromon Apr 10, 2022
    3. vstinner commented on Sep 22, 2023

      @vstinner
      Member

      Is it a duplicate of issue GH-89339? What's the status on Python 3.13 (main branch)?

      Dependencies:

      • FIXED by using backslashreplace: bpo-25182: python -v crashes in nonencodable directory
      • OPEN: bpo-25183: python -m inspect --details fails in nondecodable directory
      • OPEN: bpo-25184: "python -m pydoc -w" fails in nondecodable directory
    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

      testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions