1import unittest 2from test.support.import_helper import import_fresh_module 3from test.support.warnings_helper import check_warnings 4 5with check_warnings(("", PendingDeprecationWarning)): 6 load_tests = import_fresh_module('lib2to3.tests', fresh=['lib2to3']).load_tests 7 8if __name__ == '__main__': 9 unittest.main() 10