Closed
Description
The latest pyzstd release has changed the error type of:
>>> import io
>>> import pyzstd
>>> f = pyzstd.ZstdFile(io.BytesIO(b'bad'), mode='rb')
>>> f.read()
And tests are now failing.
@vanandrew Do you have time to look into this? I suspect what we want to do is coerce exceptions in Opener.read()
to match expected exceptions from IOBase.read()
, and possibly other methods.