Skip to content

test.regrtest has way too many imports #85884

@vstinner

Description

@vstinner
BPO 41718
Nosy @terryjreedy, @vstinner, @zware, @serhiy-storchaka, @pablogsal, @shihai1991
PRs
  • bpo-41718: Reduce test.libregrtest imports #22089
  • bpo-41718: regrtest saved_test_environment avoids imports #24934
  • bpo-41718: Reduce libregrtest runtest imports #24980
  • bpo-41718: importlib no longer imports warnings #24981
  • bpo-41718: Disable support.testresult XML output by default #24982
  • bpo-41718: libregrtest runtest avoids import_helper #24983
  • bpo-41718: libregrtest avoids importing datetime #24985
  • bpo-41718: subprocess imports grp and pwd on demand #24987
  • bpo-41718: runpy now imports pkgutil in functions #24996
  • bpo-41718: Update runpy startup time What's New #24998
  • 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 = <Date 2021-03-23.19:24:20.978>
    created_at = <Date 2020-09-04.15:36:12.920>
    labels = ['tests', '3.10']
    title = 'test.regrtest has way too many imports'
    updated_at = <Date 2021-03-23.19:24:20.978>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-03-23.19:24:20.978>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-23.19:24:20.978>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2020-09-04.15:36:12.920>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41718
    keywords = ['patch']
    message_count = 19.0
    messages = ['376374', '376376', '376379', '376380', '376420', '376426', '376462', '376463', '389105', '389347', '389350', '389355', '389356', '389358', '389360', '389395', '389401', '389404', '389406']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'vstinner', 'zach.ware', 'serhiy.storchaka', 'pablogsal', 'shihai1991']
    pr_nums = ['22089', '24934', '24980', '24981', '24982', '24983', '24985', '24987', '24996', '24998']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue41718'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestestsTests in the Lib/test dir
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions