mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00

svn+ssh://pythondev@svn.python.org/python/trunk ........ r65104 | benjamin.peterson | 2008-07-18 09:26:35 -0500 (Fri, 18 Jul 2008) | 2 lines now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource ........
19 lines
472 B
Python
19 lines
472 B
Python
# Skipping test_parser and test_all_fixers
|
|
# because of running
|
|
from lib2to3.tests import test_fixers, test_pytree, test_util
|
|
import unittest
|
|
from test.support import run_unittest
|
|
|
|
def suite():
|
|
tests = unittest.TestSuite()
|
|
loader = unittest.TestLoader()
|
|
for m in (test_fixers,test_pytree,test_util):
|
|
tests.addTests(loader.loadTestsFromModule(m))
|
|
return tests
|
|
|
|
def test_main():
|
|
run_unittest(suite())
|
|
|
|
|
|
if __name__ == '__main__':
|
|
test_main()
|