Searched refs:ReadError (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Lib/ |
D | tarfile.py | 273 class ReadError(TarError): class 478 raise ReadError("not a gzip file") 546 raise ReadError("invalid compressed data") from e 687 raise ReadError("unexpected end of data") 1537 raise ReadError(str(e)) from None 1614 except (ReadError, CompressionError) as e: 1620 raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}") 1682 raise ReadError("not a gzip file") from e 1690 raise ReadError("not a gzip file") from e 1718 raise ReadError("not a bzip2 file") from e [all …]
|
D | shutil.py | 72 class ReadError(OSError): class 1162 raise ReadError("%s is not a zip file" % filename) 1193 raise ReadError( 1259 raise ReadError("Unknown archive format '{0}'".format(filename))
|
/third_party/python/Lib/test/ |
D | test_tarfile.py | 369 except tarfile.ReadError: 388 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode) 389 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname) 424 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"): 431 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"): 434 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"): 440 with self.assertRaisesRegex(tarfile.ReadError, "file could not be opened successfully"): 546 self.assertRaises(tarfile.ReadError, tarfile.open, tarname, self.mode) 548 self.assertRaises(tarfile.ReadError, tarfile.open, 679 except tarfile.ReadError: [all …]
|
D | test_shutil.py | 1610 self.assertRaises(shutil.ReadError, unpack_archive, converter(TESTFN))
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0b4.rst | 217 tarfile now raises a ReadError if an archive is truncated inside a data
|
D | 3.10.1.rst | 805 tarfile.open raises :exc:`~tarfile.ReadError` when a zlib error occurs
|
/third_party/cef/tests/ceftests/ |
D | xml_reader_unittest.cc | 498 TEST(XmlReaderTest, ReadError) { in TEST() argument
|
/third_party/python/Doc/library/ |
D | tarfile.rst | 95 :exc:`ReadError` is raised. Use *mode* ``'r'`` to avoid this. If a 180 .. exception:: ReadError
|
/third_party/skia/third_party/externals/libwebp/ |
D | ChangeLog | 572 6f9daa4a jpegdec,ReadError: fix leaks on error
|
/third_party/python/Misc/ |
D | HISTORY | 482 - Issue #24259: tarfile now raises a ReadError if an archive is truncated 2658 - Issue #20243: TarFile no longer raise ReadError when opened in write mode. 13918 raises ReadError on empty files.
|