1
0
forked from VimPlug/jedi

Remove a lot of nonsense from refactoring tests

This commit is contained in:
Dave Halter
2020-02-10 20:04:48 +01:00
parent 4cc03d2239
commit e22a44d79e
3 changed files with 13 additions and 16 deletions

View File

@@ -41,8 +41,11 @@ class Refactoring(object):
def get_changed_files(self):
return [
ChangedFile(self._grammar, path, next(iter(map_)).get_root_node(), map_)
for path, map_ in self._file_to_node_changes.items()
ChangedFile(
self._grammar, path,
module_node=next(iter(map_)).get_root_node(),
node_to_str_map=map_
) for path, map_ in self._file_to_node_changes.items()
]
def get_renames(self):