Searched refs:refactor_file (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_refactor.py | 189 rt.refactor_file(test_file) 194 rt.refactor_file(test_file, True) 211 def refactor_file(self, test_file, fixers=_2TO3_FIXERS): member in TestRefactoringTool 215 rt.refactor_file(test_file, True) 247 save_func = refactor.RefactoringTool.refactor_file 248 refactor.RefactoringTool.refactor_file = mock_refactor_file 258 refactor.RefactoringTool.refactor_file = save_func 300 old, new = self.refactor_file(fn)
|
D | test_all_fixers.py | 24 self.refactor.refactor_file(filepath)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_refactor.py | 205 rt.refactor_file(test_file) 210 rt.refactor_file(test_file, True) 243 save_func = refactor.RefactoringTool.refactor_file 244 refactor.RefactoringTool.refactor_file = mock_refactor_file 254 refactor.RefactoringTool.refactor_file = save_func
|
D | test_all_fixers.py | 23 self.refactor.refactor_file(filepath)
|
/external/python/cpython3/Lib/lib2to3/ |
D | refactor.py | 282 self.refactor_file(dir_or_file, write, doctests_only) 300 self.refactor_file(fullname, write, doctests_only) 320 def refactor_file(self, filename, write=False, doctests_only=False): member in RefactoringTool 717 super(MultiprocessRefactoringTool, self).refactor_file( 723 def refactor_file(self, *args, **kwargs): member in MultiprocessRefactoringTool 727 return super(MultiprocessRefactoringTool, self).refactor_file(
|
/external/python/cpython2/Lib/lib2to3/ |
D | refactor.py | 301 self.refactor_file(dir_or_file, write, doctests_only) 319 self.refactor_file(fullname, write, doctests_only) 339 def refactor_file(self, filename, write=False, doctests_only=False): member in RefactoringTool 736 super(MultiprocessRefactoringTool, self).refactor_file( 742 def refactor_file(self, *args, **kwargs): member in MultiprocessRefactoringTool 746 return super(MultiprocessRefactoringTool, self).refactor_file(
|