Skip to content

test___all__ affects other tests by doing too much importing #61021

@elibendersky

Description

@elibendersky
BPO 16817
Nosy @mcepl, @ezio-melotti, @bitdancer, @asvetlov, @ericsnowcurrently
Dependencies
  • bpo-1674555: sys.path in tests contains system directories
  • Superseder
  • bpo-18906: Create a way to always run tests in subprocesses within regrtest
  • 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 2012-12-30.00:56:09.843>
    labels = ['type-bug', 'tests']
    title = 'test___all__ affects other tests by doing too much importing'
    updated_at = <Date 2018-07-21.07:31:03.763>
    user = 'https://bugs.python.org/elibendersky'

    bugs.python.org fields:

    activity = <Date 2018-07-21.07:31:03.763>
    actor = 'mcepl'
    assignee = 'eli.bendersky'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2012-12-30.00:56:09.843>
    creator = 'eli.bendersky'
    dependencies = ['1674555']
    files = []
    hgrepos = []
    issue_num = 16817
    keywords = []
    message_count = 11.0
    messages = ['178547', '178551', '178553', '178574', '178575', '178580', '178620', '180642', '180669', '199202', '322081']
    nosy_count = 8.0
    nosy_names = ['mcepl', 'ezio.melotti', 'Arfrever', 'r.david.murray', 'eli.bendersky', 'asvetlov', 'eric.snow', 'danielsh']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = '18906'
    type = 'behavior'
    url = 'https://bugs.python.org/issue16817'
    versions = ['Python 3.2', 'Python 3.3', 'Python 3.4']

    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