01-fix-tests.patch 970 B

12345678910111213141516171819202122
  1. --- contrib/python/lz4/py3/tests/block/conftest.py (index)
  2. +++ contrib/python/lz4/py3/tests/block/conftest.py (working tree)
  3. @@ -9,7 +9,7 @@ test_data = [
  4. (b'0' * 8 * 1024),
  5. (bytearray(b'')),
  6. (bytearray(os.urandom(8 * 1024))),
  7. - (bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read()))
  8. + #(bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read()))
  9. ]
  10. if sys.version_info > (2, 7):
  11. --- contrib/python/lz4/py3/tests/stream/conftest.py (index)
  12. +++ contrib/python/lz4/py3/tests/stream/conftest.py (working tree)
  13. @@ -8,7 +8,7 @@ test_data = [
  14. # (b'0' * 8 * 1024),
  15. # (bytearray(b'')),
  16. # (bytearray(os.urandom(8 * 1024))),
  17. - (bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read()))
  18. + #(bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read()))
  19. ]
  20. if sys.version_info > (2, 7):