Skip to content

Remove unused imports in tests #134357

Open
Open
@hugovk

Description

@hugovk

Feature or enhancement

Proposal:

There are unused imports in the tests. There have been previous efforts to remove them from the stdlib and tests:

I'll remove some from the tests and add a lint rule to prevent new ones. Often they're forgotten when refactoring code or removing deprecations.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions