Home
last modified time | relevance | path

Searched refs:zip_name (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_zipimport_support.py85 zip_name, run_name = make_zip_script(d, 'test_zip',
88 sys.path.insert(0, zip_name)
124 zip_name, run_name = make_zip_script(d, 'test_zip',
126 with zipfile.ZipFile(zip_name, 'a') as z:
130 with zipfile.ZipFile(zip_name, 'r') as zip_file:
131 print ('Contents of %r:' % zip_name)
134 sys.path.insert(0, zip_name)
205 zip_name, run_name = make_zip_script(d, "test_zip",
207 rc, out, err = assert_python_ok(zip_name)
230 zip_name, run_nam
[all...]
H A Dtest_cmd_line_script.py275 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name)
276 self._check_script(zip_name, run_name, zip_name, zip_name, '',
285 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
286 self._check_script(zip_name, run_name, zip_name, zip_name, '',
295 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
296 self._check_script(zip_name, run_nam
[all...]
H A Dtest_multiprocessing_main_handling.py227 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name)
228 self._check_script(zip_name)
236 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
237 self._check_script(zip_name)
250 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script')
251 launch_name = _make_launch_script(script_dir, 'launch', 'test_pkg.script', zip_name)
256 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2)
257 launch_name = _make_launch_script(script_dir, 'launch', 'test_pkg.test_pkg.script', zip_name)
H A Dtest_runpy.py713 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name)
714 self._check_script(zip_name, "<run_path>", fname, zip_name,
722 zip_name, fname = make_zip_script(script_dir, 'test_zip',
724 self._check_script(zip_name, "<run_path>", fname, zip_name,
731 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name)
732 msg = "can't find '__main__' module in %r" % zip_name
733 self._check_import_error(zip_name, msg)
742 zip_name, fnam
[all...]
H A Dtest_zipfile.py2980 zip_name = findfile('zipdir.zip')
2982 out = self.zipfilecmd(opt, zip_name)
2984 zip_name = findfile('testtar.tar')
2985 rc, out, err = self.zipfilecmd_failure('-t', zip_name)
2989 zip_name = findfile('zipdir.zip')
2991 with zipfile.ZipFile(zip_name, 'r') as tf:
2995 out = self.zipfilecmd(opt, zip_name,
3022 zip_name = findfile('zipdir.zip')
3025 out = self.zipfilecmd(opt, zip_name, extdir)
3027 with zipfile.ZipFile(zip_name) a
[all...]
/third_party/python/Lib/test/support/
H A Dscript_helper.py230 zip_name = os.path.join(zip_dir, zip_filename)
231 with zipfile.ZipFile(zip_name, 'w') as zip_file:
242 # with zipfile.ZipFile(zip_name, 'r') as zip_file:
243 # print 'Contents of %r:' % zip_name
245 return zip_name, os.path.join(zip_name, name_in_zip)
268 zip_name = os.path.join(zip_dir, zip_filename)
269 with zipfile.ZipFile(zip_name, 'w') as zip_file:
277 # with zipfile.ZipFile(zip_name, 'r') as zip_file:
278 # print 'Contents of %r:' % zip_name
[all...]
/third_party/python/PC/layout/
H A Dmain.py189 zip_name = PYTHON_ZIP_NAME
190 yield zip_name, ns.temp / zip_name
330 zip_name = PYTHON_ZIP_NAME
331 zip_path = ns.temp / zip_name
339 log_info("Generating {} in {}", zip_name, ns.temp)
/third_party/skia/third_party/externals/zlib/google/
H A Dzip_unittest.cc485 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local
487 base::File zip_file(zip_name, in TEST_F()
495 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_unittest.cc1075 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local
1077 base::File zip_file(zip_name, in TEST_F()
1085 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
/third_party/node/deps/zlib/google/
H A Dzip_unittest.cc1075 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local
1077 base::File zip_file(zip_name, in TEST_F()
1085 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
/third_party/python/Lib/
H A Dzipfile.py2612 zip_name = args.create.pop(0)
2626 with ZipFile(zip_name, 'w') as zf:

Completed in 17 milliseconds