Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See: https://github.com/python-lz4/python-lz4/runs/6539764793?check_suite_focus=true
tests\frame\test_frame_3.py ..F ================================== FAILURES =================================== _____________________ test_block_checksum_failure[data0] ______________________ data = b'\x96\xe4\xf4\xc2\xbd\xfc\x07\xe3\xf2@\x9c\x9c\t\x1a82F\x0f\x0f\xbc\x8d>\xf9\xa46xg9\xffV\x8786M\xaazj[\xa1Bn\'\x8c\x...xe5>.\xb8\r\x90\x00\xd02\x15}Bt\xba\x14=re\xba\xd7\xeb\x80\xe7\x98\xadX\xcc\xc6\x86\x05{\xb7\xe1i\x1e \xe6\x0b8h53\xb0' def test_block_checksum_failure(data): compressed = lz4frame.compress( data, content_checksum=True, block_checksum=True, return_bytearray=True, ) message = r'^LZ4F_decompress failed with code: ERROR_blockChecksum_invalid$' if len(compressed) > 32: > with pytest.raises(RuntimeError, match=message): E Failed: DID NOT RAISE <class 'RuntimeError'> compressed = bytearray(b'\x04"M\x18\\@\x00\x00\x04\x00\x00\x00\x00\x00\x1c\x00\x00\x01\x80\x96\xe4\xf4\xc2\xbd\xfc\x07\xe3\xf2@\x9c...a\x14=re\xba\xd7\xeb\x80\xe7\x98\xadX\xcc\xc6\x86\x05{\xb7\xe1i\x1e \xe6\x0b8h53\xb0.4*\x9e\x00\x00\x00\x00\x99h\x16K') data = b'\x96\xe4\xf4\xc2\xbd\xfc\x07\xe3\xf2@\x9c\x9c\t\x1a82F\x0f\x0f\xbc\x8d>\xf9\xa46xg9\xffV\x8786M\xaazj[\xa1Bn\'\x8c\x...xe5>.\xb8\r\x90\x00\xd02\x15}Bt\xba\x14=re\xba\xd7\xeb\x80\xe7\x98\xadX\xcc\xc6\x86\x05{\xb7\xe1i\x1e \xe6\x0b8h53\xb0' message = '^LZ4F_decompress failed with code: ERROR_blockChecksum_invalid$' tests\frame\test_frame_3.py:55: Failed
The text was updated successfully, but these errors were encountered:
Fix test_block_checksum_failure() (#254)
305461e
No branches or pull requests
See: https://github.com/python-lz4/python-lz4/runs/6539764793?check_suite_focus=true
The text was updated successfully, but these errors were encountered: