Skip to content

Remove unused imports in tests #134357

Closed
Closed

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

Activity

  1. added
    type-feature
    tests
    on May 20, 2025
  2. added a commit that references this issue on May 25, 2025
  3. added a commit that references this issue on Jul 12, 2025
  4. added a commit that references this issue on Aug 4, 2025
  5. added a commit that references this issue on Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    teststype-feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions