Home
last modified time | relevance | path

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

/external/python/setuptools/setuptools/tests/integration/
Dhelpers.py50 def get_name(self, zip_or_tar_info): argument
51 if hasattr(zip_or_tar_info, "filename"):
52 return zip_or_tar_info.filename
53 return zip_or_tar_info.name
55 def get_content(self, zip_or_tar_info): argument
57 content = self._obj.extractfile(zip_or_tar_info)
62 return str(self._obj.read(zip_or_tar_info), "utf-8")