]>
Commit | Line | Data |
---|---|---|
4710c53d | 1 | """Tests that run all fixer modules over an input stream.\r |
2 | \r | |
3 | This has been broken out into its own test module because of its\r | |
4 | running time.\r | |
5 | """\r | |
6 | # Author: Collin Winter\r | |
7 | \r | |
8 | # Python imports\r | |
9 | import unittest\r | |
10 | \r | |
11 | # Local imports\r | |
12 | from lib2to3 import refactor\r | |
13 | from . import support\r | |
14 | \r | |
15 | \r | |
16 | class Test_all(support.TestCase):\r | |
17 | \r | |
18 | def setUp(self):\r | |
19 | self.refactor = support.get_refactorer()\r | |
20 | \r | |
21 | def test_all_project_files(self):\r | |
22 | for filepath in support.all_project_files():\r | |
23 | self.refactor.refactor_file(filepath)\r |