Example #1
0
 def _find_traverse(self, path, result):
     # Ignore symlinked directories to avoid duplicates in `run()`
     # results because of venv `lib64 -> lib/` symlink on Linux.
     full = os.path.join(self.base_path, path)
     if os.path.isdir(full) and os.path.islink(full):
         if not self.temp_path or path != 'tmp':
             result[path] = FoundDir(self.base_path, path)
     else:
         super(PipTestEnvironment, self)._find_traverse(path, result)