Debian Codegraph @

cpython27/Lib/lib2to3/tests/test_all_fixers.py

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