Skip to content

test_import breaks on Linux #45718

Closed
Closed

Description

@gvanrossum
BPO 1377
Nosy @gvanrossum, @tiran
Superseder
  • bpo-1342: Crash on Windows if Python runs from a directory with umlauts
  • 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 = 'https://github.com/tiran'
    closed_at = <Date 2007-12-20.13:16:46.870>
    created_at = <Date 2007-11-02.23:45:03.457>
    labels = []
    title = 'test_import breaks on Linux'
    updated_at = <Date 2008-01-06.22:29:45.425>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2008-01-06.22:29:45.425>
    actor = 'admin'
    assignee = 'christian.heimes'
    closed = True
    closed_date = <Date 2007-12-20.13:16:46.870>
    closer = 'christian.heimes'
    components = []
    creation = <Date 2007-11-02.23:45:03.457>
    creator = 'gvanrossum'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 1377
    keywords = []
    message_count = 5.0
    messages = ['57079', '57093', '57287', '57674', '58873']
    nosy_count = 2.0
    nosy_names = ['gvanrossum', 'christian.heimes']
    pr_nums = []
    priority = 'normal'
    resolution = 'remind'
    stage = None
    status = 'closed'
    superseder = '1342'
    type = None
    url = 'https://bugs.python.org/issue1377'
    versions = ['Python 3.0']

    Activity

    1. gvanrossum commented on Nov 2, 2007

      @gvanrossum
      MemberAuthor

      Error output:

      test_import@test/test????test test_import failed -- Traceback (most
      recent call last): File
      "/usr/local/google/home/guido/python/py3k-main/Lib/test/test_import.py",
      line 184, in test_sys_path_with_unicode mod =
      __import__("testimport%i" % i)ImportError: No module named testimport1

    2. tiran commented on Nov 4, 2007

      @tiran
      Member

      I'm going to disable the test for now.

    3. gvanrossum commented on Nov 9, 2007

      @gvanrossum
      MemberAuthor

      I wouldn't close this until it's fixed.

    4. tiran commented on Nov 20, 2007

      @tiran
      Member

      Martin gave some insight into the problem
      http://permalink.gmane.org/gmane.comp.python.python-3000.devel/10949

      The test isn't going to work on systems that don't support UTF-8.

    5. tiran commented on Dec 20, 2007

      @tiran
      Member

      I've removed the disabled test from py3k. There is no chance it is going
      to work on all systems.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions