Deprecated
==========
+* The :mod:`lib2to3` package is now deprecated and may not be able to parse
+ Python 3.10 or newer. See the :pep:`617` (New PEG parser for CPython).
+ (Contributed by Victor Stinner in :issue:`40360`.)
Removed
from test.support.import_helper import import_fresh_module
from test.support.warnings_helper import check_warnings
-with check_warnings(("", PendingDeprecationWarning)):
+with check_warnings(("", DeprecationWarning)):
load_tests = import_fresh_module('lib2to3.tests', fresh=['lib2to3']).load_tests
if __name__ == '__main__':