Skip to content

test_multiprocessing skipped on Windows #53722

Closed

Description

@briancurtin
BPO 9513
Nosy @briancurtin
Files
  • test_mp.diff: py3k
  • 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/briancurtin'
    closed_at = <Date 2010-08-04.16:23:35.615>
    created_at = <Date 2010-08-04.15:41:14.587>
    labels = ['type-bug', 'library', 'OS-windows']
    title = 'test_multiprocessing skipped on Windows'
    updated_at = <Date 2010-08-04.16:23:35.613>
    user = 'https://github.com/briancurtin'

    bugs.python.org fields:

    activity = <Date 2010-08-04.16:23:35.613>
    actor = 'brian.curtin'
    assignee = 'brian.curtin'
    closed = True
    closed_date = <Date 2010-08-04.16:23:35.615>
    closer = 'brian.curtin'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2010-08-04.15:41:14.587>
    creator = 'brian.curtin'
    dependencies = []
    files = ['18387']
    hgrepos = []
    issue_num = 9513
    keywords = ['patch']
    message_count = 3.0
    messages = ['112822', '112823', '112831']
    nosy_count = 2.0
    nosy_names = ['jnoller', 'brian.curtin']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9513'
    versions = ['Python 3.1', 'Python 3.2']

    Activity

    1. briancurtin commented on Aug 4, 2010

      @briancurtin
      MemberAuthor

      I just realized test_multiprocessing is being skipped on Windows because a few relative imports of _multiprocessing are failing in win32 specific code blocks. Attached is a trivial patch to remove the relative import, enabling the tests to run and succeed on both dev and installed environments.

      Jesse: There don't appear to be any side effects here, but I get the feeling I might be overlooking some reason this might have been done.

    2. self-assigned this
      on Aug 4, 2010
    3. added
      stdlib
      type-bug
      on Aug 4, 2010
    4. jnoller commented on Aug 4, 2010

      jnollermannequin
      Mannequin

      The relative imports have been more of a pain then they've helped. I'm fine with nuking them so long as the test suite passes.

    5. briancurtin commented on Aug 4, 2010

      @briancurtin
      MemberAuthor

      Fixed in r83722 (py3k) and r837274 (release31-maint).

    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

    OS-windowsstdlibtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions