Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: a40ea98fc10b86b47dde49884c4d2c8fe6e79bce authored by Benjamin Peterson on 10 May 2015, 17:14:16 UTC
bump version to 2.7.10rc1
Tip revision: a40ea98
test_lib2to3.py
# Skipping test_parser and test_all_fixers
# because of running
from lib2to3.tests import (test_fixers, test_pytree, test_util, test_refactor,
                           test_parser, test_main as test_main_)
import unittest
from test.test_support import run_unittest

def suite():
    tests = unittest.TestSuite()
    loader = unittest.TestLoader()
    for m in (test_fixers, test_pytree,test_util, test_refactor, test_parser,
              test_main_):
        tests.addTests(loader.loadTestsFromModule(m))
    return tests

def test_main():
    run_unittest(suite())


if __name__ == '__main__':
    test_main()
back to top