def flush(self) -> bytes:
try:
return self.decompressor.flush()
- except zlib.error as exc:
+ except zlib.error as exc: # pragma: nocover
raise httpcore.exceptions.DecodingError from exc
def flush(self) -> bytes:
try:
return self.decompressor.flush()
- except zlib.error as exc:
+ except zlib.error as exc: # pragma: nocover
raise httpcore.exceptions.DecodingError from exc
try:
self.decompressor.finish()
return b""
- except brotli.Error as exc:
+ except brotli.Error as exc: # pragma: nocover
raise httpcore.exceptions.DecodingError from exc