Skip to content

Use warnings_helper.import_deprecated() in tests #92169

Closed
@hugovk

Description

@hugovk

Let's use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests.

Suggested by @vstinner in #91951 (comment), PR to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions