Searched refs:TEMP_ZIP (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_zipimport.py | 55 TEMP_ZIP = os.path.abspath("junk95142" + os.extsep + "zip") variable 70 z = ZipFile(TEMP_ZIP, "w") 81 f = open(TEMP_ZIP, "rb") 85 f = open(TEMP_ZIP, "wb") 90 sys.path.insert(0, TEMP_ZIP) 101 self.assertEqual(file, os.path.join(TEMP_ZIP, 105 os.remove(TEMP_ZIP) 208 z = ZipFile(TEMP_ZIP, "w") 216 zi = zipimport.zipimporter(TEMP_ZIP) 217 self.assertEqual(zi.archive, TEMP_ZIP) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 57 TEMP_ZIP = os.path.abspath("junk95142.zip") variable 108 def makeZip(self, files, zipName=TEMP_ZIP, **kw): 132 sys.path.insert(0, TEMP_ZIP) 142 self.assertEqual(file, os.path.join(TEMP_ZIP, 422 z = ZipFile(TEMP_ZIP, "w") 431 zi = zipimport.zipimporter(TEMP_ZIP) 432 self.assertEqual(zi.archive, TEMP_ZIP) 446 expected_path_path = os.path.join(TEMP_ZIP, TESTPACK) 467 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK) 468 self.assertEqual(zi2.archive, TEMP_ZIP) [all …]
|