Skip to content

Failing zstd tests #1209

Closed
Closed
@effigies

Description

@effigies

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions