Home
last modified time | relevance | path

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

/third_party/python/Lib/lib2to3/tests/
Dtest_util.py113 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_)
/third_party/python/Lib/lib2to3/
Dfixer_base.py12 from .fixer_util import does_tree_import
185 self._should_skip = does_tree_import(pkg, name, node)
Dfixer_util.py303 def does_tree_import(package, name, node): function
324 if does_tree_import(package, name, root):