Searched refs:does_tree_import (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 116 def does_tree_import(self, package, name, string): member in Test_does_tree_import 120 return fixer_util.does_tree_import(package, name, node) 129 n = self.does_tree_import(package, name, import_ + "\n" + string) 131 n = self.does_tree_import(package, name, string + "\n" + import_) 142 n = self.does_tree_import(package, name, import_ + "\n" + string) 144 n = self.does_tree_import(package, name, string + "\n" + import_)
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_util.py | 113 def does_tree_import(self, package, name, string): member in Test_does_tree_import 117 return fixer_util.does_tree_import(package, name, node) 126 n = self.does_tree_import(package, name, import_ + "\n" + string) 128 n = self.does_tree_import(package, name, string + "\n" + import_) 139 n = self.does_tree_import(package, name, import_ + "\n" + string) 141 n = self.does_tree_import(package, name, string + "\n" + import_)
|
/external/python/cpython2/Lib/lib2to3/ |
D | fixer_base.py | 12 from .fixer_util import does_tree_import 186 self._should_skip = does_tree_import(pkg, name, node)
|
D | fixer_util.py | 282 def does_tree_import(package, name, node): function 303 if does_tree_import(package, name, root):
|
/external/python/cpython3/Lib/lib2to3/ |
D | fixer_base.py | 12 from .fixer_util import does_tree_import 185 self._should_skip = does_tree_import(pkg, name, node)
|
D | fixer_util.py | 303 def does_tree_import(package, name, node): function 324 if does_tree_import(package, name, root):
|