Home
last modified time | relevance | path

Searched refs:does_tree_import (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/lib2to3/tests/
Dtest_util.py116 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/cpython2/Lib/lib2to3/
Dfixer_base.py13 from .fixer_util import does_tree_import
188 self._should_skip = does_tree_import(pkg, name, node)
Dfixer_util.py282 def does_tree_import(package, name, node): function
303 if does_tree_import(package, name, root):