Martin v. Löwis | 53dbcd3 | 2008-03-28 05:26:10 +0000 | [diff] [blame^] | 1 | # Skipping test_parser and test_all_fixers |
2 | # because of running | ||||
3 | from lib2to3.tests import test_fixers, test_pytree, test_util | ||||
4 | import unittest | ||||
5 | from test.test_support import run_unittest | ||||
6 | |||||
7 | def suite(): | ||||
8 | tests = unittest.TestSuite() | ||||
9 | loader = unittest.TestLoader() | ||||
10 | for m in (test_fixers,test_pytree,test_util): | ||||
11 | tests.addTests(loader.loadTestsFromModule(m)) | ||||
12 | return tests | ||||
13 | |||||
14 | def test_main(): | ||||
15 | run_unittest(suite()) |