Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Feb 23, 2021
1 parent c820e1f commit f9c3d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions py7zr/compressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
except ImportError:
import py7zr.bcjfilter as BCJFilter # type: ignore # noqa
try:
import pyzstd
import pyzstd # noqa

import py7zr.pyzstdfilter as Zstd # type: ignore # noqa
except ImportError:
Expand Down Expand Up @@ -254,7 +254,6 @@ def decompress(self, data: Union[bytes, bytearray, memoryview], max_length: int
return bytes(data)



class PpmdDecompressor(ISevenZipDecompressor):

def __init__(self, properties: bytes):
Expand Down
1 change: 1 addition & 0 deletions tests/test_extra_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def test_pyzstd_compressor_1():
b"\xe4\x97BB\xd2\x01\x00\x18\xb8z\x02"
assert outdata == compressed


@pytest.mark.unit
@pytest.mark.skipif(zstandard is None, reason="zstd library is not exist.")
def test_zstd_decompressor_1():
Expand Down

0 comments on commit f9c3d4f

Please sign in to comment.