Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_gzip.py707 gzipname = os.path.join(TEMPDIR, 'testgzip.gz')
708 self.assertFalse(os.path.exists(gzipname))
710 with gzip.open(gzipname, mode='wb') as fp:
712 rc, out, err = assert_python_ok('-m', 'gzip', '-d', gzipname)
717 self.assertTrue(os.path.exists(gzipname))
740 gzipname = local_testgzip + '.gz'
741 self.assertFalse(os.path.exists(gzipname))
748 self.assertTrue(os.path.exists(gzipname))
Dtest_tarfile.py36 gzipname = os.path.join(TEMPDIR, "testtar.tar.gz") variable
58 tarname = gzipname
/external/python/cpython2/Lib/test/
Dtest_tarfile.py32 gzipname = os.path.join(TEMPDIR, "testtar.tar.gz") variable
225 tarname = gzipname
568 self.assertRaises(tarfile.ReadError, tarfile.open, gzipname, mode="r:")
569 self.assertRaises(tarfile.ReadError, tarfile.open, gzipname, mode="r|")
571 testfunc(gzipname, "r")
572 testfunc(gzipname, "r:*")
573 testfunc(gzipname, "r:gz")
574 testfunc(gzipname, "r|*")
575 testfunc(gzipname, "r|gz")
1770 tarname = gzipname
[all …]