test_lib2to3.py 311 B

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