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