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

Tests failed in nondecodable directory #69368

Open
serhiy-storchaka opened this issue Sep 19, 2015 · 2 comments
Open

Tests failed in nondecodable directory #69368

serhiy-storchaka opened this issue Sep 19, 2015 · 2 comments
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

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

    @serhiy-storchaka
    Copy link
    Member Author

    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.

    @serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Sep 19, 2015
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @vstinner
    Copy link
    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
    Labels
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants