Let's use `warnings_helper.import_deprecated()` to import deprecated modules uniformly in tests. Suggested by @vstinner in https://github.com/python/cpython/pull/91951#discussion_r858871927, PR to follow.