/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 132 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 133 self._check_script(zip_name, run_name, zip_name, '') 139 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 140 self._check_script(zip_name, run_name, zip_name, '') 145 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 146 msg = "can't find '__main__' module in %r" % zip_name 147 self._check_import_error(zip_name, msg) 159 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script' [all...] |
test_zipimport_support.py | 82 zip_name, run_name = make_zip_script(d, 'test_zip', 85 sys.path.insert(0, zip_name) 118 zip_name, run_name = make_zip_script(d, 'test_zip', 120 z = zipfile.ZipFile(zip_name, 'a') 125 zip_file = zipfile.ZipFile(zip_name, 'r') 126 print 'Contents of %r:' % zip_name 130 sys.path.insert(0, zip_name) 213 zip_name, run_name = make_zip_script(d, "test_zip", 215 exit_code, data = run_python(zip_name) 237 zip_name, run_name = make_zip_script(d, "test_zip" [all...] |
script_helper.py | 124 zip_name = os.path.join(zip_dir, zip_filename) 125 zip_file = zipfile.ZipFile(zip_name, 'w') 131 # zip_file = zipfile.ZipFile(zip_name, 'r') 132 # print 'Contents of %r:' % zip_name 135 return zip_name, os.path.join(zip_name, name_in_zip) 156 zip_name = os.path.join(zip_dir, zip_filename) 157 zip_file = zipfile.ZipFile(zip_name, 'w') 166 # zip_file = zipfile.ZipFile(zip_name, 'r') 167 # print 'Contents of %r:' % zip_name [all...] |
test_runpy.py | 370 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 371 self._check_script(zip_name, "<run_path>", fname, zip_name, '') 378 zip_name, fname = make_zip_script(script_dir, 'test_zip', compiled_name) 379 self._check_script(zip_name, "<run_path>", fname, zip_name, '') 385 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 386 msg = "can't find '__main__' module in %r" % zip_name 387 self._check_import_error(zip_name, msg) 395 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 132 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 133 self._check_script(zip_name, run_name, zip_name, '') 139 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 140 self._check_script(zip_name, run_name, zip_name, '') 145 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 146 msg = "can't find '__main__' module in %r" % zip_name 147 self._check_import_error(zip_name, msg) 159 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script' [all...] |
test_zipimport_support.py | 82 zip_name, run_name = make_zip_script(d, 'test_zip', 85 sys.path.insert(0, zip_name) 118 zip_name, run_name = make_zip_script(d, 'test_zip', 120 z = zipfile.ZipFile(zip_name, 'a') 125 zip_file = zipfile.ZipFile(zip_name, 'r') 126 print 'Contents of %r:' % zip_name 130 sys.path.insert(0, zip_name) 213 zip_name, run_name = make_zip_script(d, "test_zip", 215 exit_code, data = run_python(zip_name) 237 zip_name, run_name = make_zip_script(d, "test_zip" [all...] |
script_helper.py | 124 zip_name = os.path.join(zip_dir, zip_filename) 125 zip_file = zipfile.ZipFile(zip_name, 'w') 131 # zip_file = zipfile.ZipFile(zip_name, 'r') 132 # print 'Contents of %r:' % zip_name 135 return zip_name, os.path.join(zip_name, name_in_zip) 156 zip_name = os.path.join(zip_dir, zip_filename) 157 zip_file = zipfile.ZipFile(zip_name, 'w') 166 # zip_file = zipfile.ZipFile(zip_name, 'r') 167 # print 'Contents of %r:' % zip_name [all...] |
test_runpy.py | 370 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 371 self._check_script(zip_name, "<run_path>", fname, zip_name, '') 378 zip_name, fname = make_zip_script(script_dir, 'test_zip', compiled_name) 379 self._check_script(zip_name, "<run_path>", fname, zip_name, '') 385 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 386 msg = "can't find '__main__' module in %r" % zip_name 387 self._check_import_error(zip_name, msg) 395 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name [all...] |
/external/chromium_org/third_party/zlib/google/ |
zip_unittest.cc | 285 base::FilePath zip_name = temp_dir.path().AppendASCII("out.zip"); local 287 base::File zip_file(zip_name, 295 EXPECT_TRUE(reader.Open(zip_name));
|